com.aspose.html.dom.svg.datatypes

Class SVGPoint

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


    @DOMObjectAttribute
     @DOMNameAttribute(name="SVGPoint")
    public class SVGPoint
    extends SVGValueType

    Many of the SVG DOM interfaces refer to objects of class SVGPoint. An SVGPoint is an (x, y) coordinate pair. When used in matrix operations, an SVGPoint is treated as a vector of the form: [x] [y] [1] If an SVGRect object is designated as read only, then attempting to assign to one of its attributes will result in an exception being thrown.

    • Constructor Detail

      • SVGPoint

        public SVGPoint()

        Initializes a new instance of the SVGPoint class.

      • SVGPoint

        public SVGPoint(float x,
                        float y)

        Initializes a new instance of the SVGPoint class.

        Parameters:
        x - The x.
        y - The y.