Packages

 

com.aspose.imaging.fileformats.cmx.objectmodel.specs

Class CmxPathPointSpec

  • java.lang.Object
    • com.aspose.imaging.fileformats.cmx.objectmodel.specs.CmxPathPointSpec


  • public class CmxPathPointSpec
    extends Object

    Represents geometric info specified for a path point.

    • Constructor Detail

      • CmxPathPointSpec

        public CmxPathPointSpec()
      • CmxPathPointSpec

        public CmxPathPointSpec(float x,
                                float y,
                                int jumpType,
                                boolean closedPath,
                                int bezierOrder)
    • Method Detail

      • getX

        public final float getX()

        Gets the X coordinate of the point. Measures in common document distance units.

        Returns:
        the X coordinate of the point.
      • setX

        public final void setX(float value)

        Sets the X coordinate of the point. Measures in common document distance units.

        Parameters:
        value - 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:
        the Y coordinate of the point.
      • setY

        public final void setY(float value)

        Sets the Y coordinate of the point. Measures in common document distance units.

        Parameters:
        value - the Y coordinate of the point.
      • getJumpType

        public final int getJumpType()

        Gets the type of the jump.

        Returns:
        the type of the jump.
      • setJumpType

        public final void setJumpType(int value)

        Sets the type of the jump.

        Parameters:
        value - the type of the jump.
      • isClosedPath

        public final boolean isClosedPath()

        Gets a value indicating whether this point closes its path.

      • setClosedPath

        public final void setClosedPath(boolean value)

        Sets a value indicating whether this point closes its path.

        Parameters:
        value - a value indicating whether this point closes its path.
      • getBezierOrder

        public final int getBezierOrder()

        Gets the bezier order.

        Returns:
        the bezier order.
      • setBezierOrder

        public final void setBezierOrder(int value)

        Sets the bezier order.

        Parameters:
        value - the bezier order.
      • toString

        public String toString()

        Returns a String that represents this instance.

        Overrides:
        toString in class Object
        Returns:
        A String that represents this instance.