IMotionCmdPath

public interface IMotionCmdPath

Represent one command of a path.

Methods

MethodDescription
getPoints()Specifies points of command.
setPoints(Point2D.Float[] value)Specifies points of command.
getCommandType()Specifies command type.
setCommandType(int value)Specifies command type.
isRelative()Determine command coordinates relative or not.
setRelative(boolean value)Determine command coordinates relative or not.
getPointsType()Specifies command points type Read/write MotionPathPointsType.
setPointsType(int value)Specifies command points type Read/write MotionPathPointsType.

getPoints()

public abstract Point2D.Float[] getPoints()

Specifies points of command. Read/write java.awt.geom.Point2D.Float[].

Returns: java.awt.geom.Point2D.Float[]

setPoints(Point2D.Float[] value)

public abstract void setPoints(Point2D.Float[] value)

Specifies points of command. Read/write java.awt.geom.Point2D.Float[].

Parameters:

ParameterTypeDescription
valuejava.awt.geom.Point2D.Float[]

getCommandType()

public abstract int getCommandType()

Specifies command type. Read/write MotionCommandPathType.

Returns: int

setCommandType(int value)

public abstract void setCommandType(int value)

Specifies command type. Read/write MotionCommandPathType.

Parameters:

ParameterTypeDescription
valueint

isRelative()

public abstract boolean isRelative()

Determine command coordinates relative or not. Read/write boolean.

Returns: boolean

setRelative(boolean value)

public abstract void setRelative(boolean value)

Determine command coordinates relative or not. Read/write boolean.

Parameters:

ParameterTypeDescription
valueboolean

getPointsType()

public abstract int getPointsType()

Specifies command points type Read/write MotionPathPointsType.

Returns: int

setPointsType(int value)

public abstract void setPointsType(int value)

Specifies command points type Read/write MotionPathPointsType.

Parameters:

ParameterTypeDescription
valueint