SVGPoint object

Describes a point.

Scalable Vector Graphics: Coordinate Systems, Transformations and Units, Section 7.14.1Internet Explorer 9

 

Members

The SVGPoint object has these types of members:

Methods

The SVGPoint object has these methods.

MethodDescription
matrixTransform

Applies the given 2×3 matrix transformation on this SVGPoint object and returns a new, transformed SVGPoint object.

 

Properties

The SVGPoint object has these properties.

PropertyDescription

x

Gets or sets the x-coordinate value.

y

Gets or sets the y-coordinate value.

 

Standards information

Remarks

Note  In addition to the attributes, properties, events, methods, and styles listed above, SVG elements also inherit core HTML attributes, properties, events, methods, and styles.
 

An SVGPoint object is an (x, y) coordinate pair. When you use an SVGPoint object in matrix operations, the object is treated as a vector of the following form.

Illustration of Vertical x, y, 1 vector.

 

 

Show: