question: public Shape createPoint ( Point2D point ) { GeneralPath path = new GeneralPath ( ) ; path . moveTo ( ( float ) ( point . getX ( ) ) , ( float ) ( point . getY ( ) - size / 2 ) ) ; path . lineTo ( ( float ) ( point . getX ( ) + size / 2 ) , ( float ) ( point . getY ( ) + size / 2 ) ) ; path . lineTo ( ( float ) ( point . getX ( ) - size / 2 ) , ( float ) ( point . getY ( ) + size / 2 ) ) ; path . lineTo ( ( float ) ( point . getX ( ) ) , ( float ) ( point . getY ( ) - size / 2 ) ) ; return path ; }
target:  Creates a shape representing a point.