AtomSymbol center ( double x , double y ) { Point2D center = getAlignmentCenter ( ) ; return translate ( x - center . getX ( ) , y - center . getY ( ) ) ; }
Convenience function to center an atom symbol on a specified point . The centering depends on the symbol alignment .