CmxPathPointSpec
Inheritance: java.lang.Object
public class CmxPathPointSpec
Represents geometric info specified for a path point.
Constructors
Constructor | Description |
---|---|
CmxPathPointSpec() | |
CmxPathPointSpec(float x, float y, int jumpType, boolean closedPath, int bezierOrder) |
Methods
Method | Description |
---|---|
getX() | Gets the X coordinate of the point. |
setX(float value) | Sets the X coordinate of the point. |
getY() | Gets the Y coordinate of the point. |
setY(float value) | Sets the Y coordinate of the point. |
getJumpType() | Gets the type of the jump. |
setJumpType(int value) | Sets the type of the jump. |
isClosedPath() | Gets a value indicating whether this point closes its path. |
setClosedPath(boolean value) | Sets a value indicating whether this point closes its path. |
getBezierOrder() | Gets the bezier order. |
setBezierOrder(int value) | Sets the bezier order. |
toString() | Returns a String that represents this instance. |
equals(Object o) | Check if objects are equal. |
hashCode() | Get hash code of the current object. |
CmxPathPointSpec()
public CmxPathPointSpec()
CmxPathPointSpec(float x, float y, int jumpType, boolean closedPath, int bezierOrder)
public CmxPathPointSpec(float x, float y, int jumpType, boolean closedPath, int bezierOrder)
Parameters:
Parameter | Type | Description |
---|---|---|
x | float | |
y | float | |
jumpType | int | |
closedPath | boolean | |
bezierOrder | int |
getX()
public final float getX()
Gets the X coordinate of the point. Measures in common document distance units.
Returns: float - the X coordinate of the point.
setX(float value)
public final void setX(float value)
Sets the X coordinate of the point. Measures in common document distance units.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float | the X coordinate of the point. |
getY()
public final float getY()
Gets the Y coordinate of the point. Measures in common document distance units.
Returns: float - the Y coordinate of the point.
setY(float value)
public final void setY(float value)
Sets the Y coordinate of the point. Measures in common document distance units.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float | the Y coordinate of the point. |
getJumpType()
public final int getJumpType()
Gets the type of the jump.
Returns: int - the type of the jump.
setJumpType(int value)
public final void setJumpType(int value)
Sets the type of the jump.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the type of the jump. |
isClosedPath()
public final boolean isClosedPath()
Gets a value indicating whether this point closes its path.
Returns: boolean
setClosedPath(boolean value)
public final void setClosedPath(boolean value)
Sets a value indicating whether this point closes its path.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether this point closes its path. |
getBezierOrder()
public final int getBezierOrder()
Gets the bezier order.
Returns: int - the bezier order.
setBezierOrder(int value)
public final void setBezierOrder(int value)
Sets the bezier order.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the bezier order. |
toString()
public String toString()
Returns a String that represents this instance.
Returns: java.lang.String - A String that represents this instance.
equals(Object o)
public boolean equals(Object o)
Check if objects are equal.
Parameters:
Parameter | Type | Description |
---|---|---|
o | java.lang.Object | The other object. |
Returns: boolean - The equality comparison result.
hashCode()
public int hashCode()
Get hash code of the current object.
Returns: int - The hash code.