moveTo

moveTo(Point2D.Float point) function

Sets next point position.

Parameters

NameTypeDescription
pointPoint2D.FloatPoint position

moveTo(float x, float y) function

Sets next point position.

Parameters

NameTypeDescription
xfloatX coordinate of the point
yfloatY Coordinate of the point