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.

setPoints

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

setPointsType

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

setRelative

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