public class CmxPathPointSpec extends Object
Represents geometric info specified for a path point.
Constructor and Description |
---|
CmxPathPointSpec() |
CmxPathPointSpec(float x,
float y,
int jumpType,
boolean closedPath,
int bezierOrder) |
Modifier and Type | Method and Description |
---|---|
int |
getBezierOrder()
Gets the bezier order.
|
int |
getJumpType()
Gets the type of the jump.
|
float |
getX()
Gets the X coordinate of the point.
|
float |
getY()
Gets the Y coordinate of the point.
|
boolean |
isClosedPath()
Gets a value indicating whether this point closes its path.
|
void |
setBezierOrder(int value)
Sets the bezier order.
|
void |
setClosedPath(boolean value)
Sets a value indicating whether this point closes its path.
|
void |
setJumpType(int value)
Sets the type of the jump.
|
void |
setX(float value)
Sets the X coordinate of the point.
|
void |
setY(float value)
Sets the Y coordinate of the point.
|
String |
toString()
Returns a
String that represents this instance. |
public CmxPathPointSpec()
public CmxPathPointSpec(float x, float y, int jumpType, boolean closedPath, int bezierOrder)
public final float getX()
Gets the X coordinate of the point. Measures in common document distance units.
public final void setX(float value)
Sets the X coordinate of the point. Measures in common document distance units.
value
- the X coordinate of the point.public final float getY()
Gets the Y coordinate of the point. Measures in common document distance units.
public final void setY(float value)
Sets the Y coordinate of the point. Measures in common document distance units.
value
- the Y coordinate of the point.public final int getJumpType()
Gets the type of the jump.
public final void setJumpType(int value)
Sets the type of the jump.
value
- the type of the jump.public final boolean isClosedPath()
Gets a value indicating whether this point closes its path.
public final void setClosedPath(boolean value)
Sets a value indicating whether this point closes its path.
value
- a value indicating whether this point closes its path.public final int getBezierOrder()
Gets the bezier order.
public final void setBezierOrder(int value)
Sets the bezier order.
value
- the bezier order.