com.aspose.html.dom.svg.paths

Class SVGPathSegCurvetoQuadraticSmoothRel

  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable


    @DOMObjectAttribute
     @DOMNameAttribute(name="SVGPathSegCurvetoQuadraticSmoothRel")
    public class SVGPathSegCurvetoQuadraticSmoothRel
    extends SVGPathSeg

    The SVGPathSegCurvetoQuadraticSmoothRel interface corresponds to a "relative smooth cubic curveto" (t) path data command.

    See Also:
    SVGPathSeg
    • Constructor Detail

      • SVGPathSegCurvetoQuadraticSmoothRel

        public SVGPathSegCurvetoQuadraticSmoothRel(float x,
                                                   float y)
    • 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 Y 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 Y 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.
      • 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.