com.aspose.xps

Class XpsArcSegment

  • All Implemented Interfaces:
    Iterable<XpsElement>


    public class XpsArcSegment
    extends XpsPathSegment

    Class incapsulating ArcSegment element features. This element describes an elliptical arc.

    • Method Detail

      • getPoint

        public Point2D getPoint()

        Returns the endpoint of the elliptical arc.

        Returns:
        The endpoint of the elliptical arc.
      • setPoint

        public void setPoint(Point2D value)

        Sets the endpoint of the elliptical arc.

        Parameters:
        value - The endpoint of the elliptical arc.
      • getSize

        public Dimension2D getSize()

        Returns the x and y radius of the elliptical arc as an x,y pair.

        Returns:
        The x and y radius of the elliptical arc as an x,y pair.
      • setSize

        public void setSize(Dimension2D value)

        Sets the x and y radius of the elliptical arc as an x,y pair.

        Parameters:
        value - The x and y radius of the elliptical arc as an x,y pair.
      • getRotationAngle

        public float getRotationAngle()

        Returns the value indicating how the ellipse is rotated relative to the current coordinate system.

        Returns:
        The value indicating how the ellipse is rotated relative to the current coordinate system.
      • setRotationAngle

        public void setRotationAngle(float value)

        Sets the value indicating how the ellipse is rotated relative to the current coordinate system.

        Parameters:
        value - The value indicating how the ellipse is rotated relative to the current coordinate system.
      • isLargeArc

        public boolean isLargeArc()

        Returns the value determining whether the arc is drawn with a sweep of 180 or greater.

        Returns:
        The value determining whether the arc is drawn with a sweep of 180 or greater.
      • setLargeArc

        public void setLargeArc(boolean value)

        Sets the value determining whether the arc is drawn with a sweep of 180 or greater.

        Parameters:
        value - The value determining whether the arc is drawn with a sweep of 180 or greater.
      • getSweepDirection

        public XpsSweepDirection getSweepDirection()

        Returns the value specifying the direction in which the arc is drawn.

        Returns:
        The value specifying the direction in which the arc is drawn.
      • setSweepDirection

        public void setSweepDirection(XpsSweepDirection value)

        Sets the value specifying the direction in which the arc is drawn.

        Parameters:
        value - The value specifying the direction in which the arc is drawn.
      • deepClone

        public XpsArcSegment deepClone()

        Clones this arc segment.

        Returns:
        Clone of this arc segment.