MotionCmdPath

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.IMotionCmdPath

public class MotionCmdPath implements IMotionCmdPath

Represent one command of a path.

Methods

Method Description
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 final 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 final void setPoints(Point2D.Float[] value)

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

Parameters:

Parameter Type Description
value java.awt.geom.Point2D.Float[]

getCommandType()

public final int getCommandType()

Specifies command type. Read/write MotionCommandPathType.

Returns: int

setCommandType(int value)

public final void setCommandType(int value)

Specifies command type. Read/write MotionCommandPathType.

Parameters:

Parameter Type Description
value int

isRelative()

public final boolean isRelative()

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

Returns: boolean

setRelative(boolean value)

public final void setRelative(boolean value)

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

Parameters:

Parameter Type Description
value boolean

getPointsType()

public final int getPointsType()

Specifies command points type Read/write MotionPathPointsType.

Returns: int

setPointsType(int value)

public final void setPointsType(int value)

Specifies command points type Read/write MotionPathPointsType.

Parameters:

Parameter Type Description
value int