com.aspose.html.dom.svg.paths

Class SVGPathSegArcRel

    • Constructor Detail

      • SVGPathSegArcRel

        public SVGPathSegArcRel(float x,
                                float y,
                                float r1,
                                float r2,
                                float angle,
                                boolean largeArcFlag,
                                boolean sweepFlag)
    • Method Detail

      • getX

        @DOMNameAttribute(name="x")
        public float getX()

        The relative X coordinate for the end point of this path segment.

        Throws:
        DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR. Raised on an attempt to change the value of a read only attribute. Value: The relative X coordinate
      • setX

        @DOMNameAttribute(name="x")
        public void setX(float value)

        The relative X coordinate for the end point of this path segment.

        Throws:
        DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR. Raised on an attempt to change the value of a read only attribute. Value: The relative X coordinate
      • getY

        @DOMNameAttribute(name="y")
        public float getY()

        The relative Y coordinate for the end point of this path segment.

        Throws:
        DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR. Raised on an attempt to change the value of a read only attribute. Value: The relative Y coordinate
      • setY

        @DOMNameAttribute(name="y")
        public void setY(float value)

        The relative Y coordinate for the end point of this path segment.

        Throws:
        DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR. Raised on an attempt to change the value of a read only attribute. Value: The relative Y coordinate
      • getR1

        @DOMNameAttribute(name="r1")
        public float getR1()

        The x-axis radius for the ellipse (i.e., r1).

        Throws:
        DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR. Raised on an attempt to change the value of a read only attribute. Value: The x-axis radius
      • setR1

        @DOMNameAttribute(name="r1")
        public void setR1(float value)

        The x-axis radius for the ellipse (i.e., r1).

        Throws:
        DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR. Raised on an attempt to change the value of a read only attribute. Value: The x-axis radius
      • getR2

        @DOMNameAttribute(name="r2")
        public float getR2()

        The y-axis radius for the ellipse (i.e., r2).

        Throws:
        DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR. Raised on an attempt to change the value of a read only attribute. Value: The y-axis radius
      • setR2

        @DOMNameAttribute(name="r2")
        public void setR2(float value)

        The y-axis radius for the ellipse (i.e., r2).

        Throws:
        DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR. Raised on an attempt to change the value of a read only attribute. Value: The y-axis radius
      • getAngle

        @DOMNameAttribute(name="angle")
        public float getAngle()

        The rotation angle in degrees for the ellipse's x-axis relative to the x-axis of the user coordinate system.

        Throws:
        DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR. Raised on an attempt to change the value of a read only attribute. Value: The rotation angle
      • setAngle

        @DOMNameAttribute(name="angle")
        public void setAngle(float value)

        The rotation angle in degrees for the ellipse's x-axis relative to the x-axis of the user coordinate system.

        Throws:
        DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR. Raised on an attempt to change the value of a read only attribute. Value: The rotation angle
      • getLargeArcFlag

        @DOMNameAttribute(name="largeArcFlag")
        public boolean getLargeArcFlag()

        The value of the large-arc-flag parameter.

        Throws:
        DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR. Raised on an attempt to change the value of a read only attribute. Value: The large-arc-flag parameter
      • setLargeArcFlag

        @DOMNameAttribute(name="largeArcFlag")
        public void setLargeArcFlag(boolean value)

        The value of the large-arc-flag parameter.

        Throws:
        DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR. Raised on an attempt to change the value of a read only attribute. Value: The large-arc-flag parameter
      • getSweepFlag

        @DOMNameAttribute(name="sweepFlag")
        public boolean getSweepFlag()

        The value of the sweep-flag parameter.

        Throws:
        DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR. Raised on an attempt to change the value of a read only attribute. Value: The sweep-flag parameter.
      • setSweepFlag

        @DOMNameAttribute(name="sweepFlag")
        public void setSweepFlag(boolean value)

        The value of the sweep-flag parameter.

        Throws:
        DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR. Raised on an attempt to change the value of a read only attribute. Value: The sweep-flag parameter.
      • deepClone

        public Object deepClone()

        Creates a new object that is a copy of the current instance.

        Specified by:
        deepClone in class SVGValueType
        Returns:
        A new object that is a copy of this instance.