CmxPathPointSpec

Inheritance: java.lang.Object

public class CmxPathPointSpec

Represents geometric info specified for a path point.

Constructors

ConstructorDescription
CmxPathPointSpec()
CmxPathPointSpec(float x, float y, int jumpType, boolean closedPath, int bezierOrder)

Methods

MethodDescription
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:

ParameterTypeDescription
xfloat
yfloat
jumpTypeint
closedPathboolean
bezierOrderint

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:

ParameterTypeDescription
valuefloatthe 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:

ParameterTypeDescription
valuefloatthe 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:

ParameterTypeDescription
valueintthe 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:

ParameterTypeDescription
valuebooleana 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:

ParameterTypeDescription
valueintthe 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:

ParameterTypeDescription
ojava.lang.ObjectThe other object.

Returns: boolean - The equality comparison result.

hashCode()

public int hashCode()

Get hash code of the current object.

Returns: int - The hash code.