SVGPoint Class

SVGPoint class

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.

public class SVGPoint : SVGValueType

Properties

NameDescription
X { get; set; }The X coordinate.
Y { get; set; }The Y coordinate.

Methods

NameDescription
Dispose()Releases unmanaged and - optionally - managed resources.
virtual GetPlatformType()This method is used to retrieve ECMAScript object Type.
MatrixTransform(SVGMatrix)Applies a 2x3 matrix transformation on this SVGPoint object and returns a new, transformed SVGPoint object: newpoint = matrix* thispoint
override ToString()Returns a String that represents this instance.

See Also