MotionCmdPath

MotionCmdPath class

Represent one command of a path.

getCommandType

NameDescription
getCommandType ()Specifies command type. Read/write MotionCommandPathType.

Returns: int


getPoints

NameDescription
getPoints ()Specifies points of command. Read/write java.awt.geom.Point2D.Float[].

Returns: Point2D.Float


getPointsType

NameDescription
getPointsType ()Specifies command points type Read/write MotionPathPointsType.

Returns: int


isRelative

NameDescription
isRelative ()Determine command coordinates relative or not. Read/write boolean.

Returns: boolean


setCommandType

NameDescription
setCommandType (int)Specifies command type. Read/write MotionCommandPathType.

Returns: void


setPoints

NameDescription
setPoints (java.awt.geom.Point2D.Float[])Specifies points of command. Read/write java.awt.geom.Point2D.Float[].

Returns: void


setPointsType

NameDescription
setPointsType (int)Specifies command points type Read/write MotionPathPointsType.

Returns: void


setRelative

NameDescription
setRelative (boolean)Determine command coordinates relative or not. Read/write boolean.

Returns: void