Definition
Geometry Interfaces Module Level 1 defines DOMPoint
[Exposed=(Window,Worker),
Serializable,
LegacyWindowAlias=SVGPoint]
interface DOMPoint : DOMPointReadOnly {
constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
optional unrestricted double z = 0, optional unrestricted double w = 1);
[NewObject] static DOMPoint fromPoint(optional DOMPointInit other = {});
inherit attribute unrestricted double x;
inherit attribute unrestricted double y;
inherit attribute unrestricted double z;
inherit attribute unrestricted double w;
};
Methods and attributes that return objects implementing DOMPoint
DOMPoint()
GeometryUtils.convertPointFromNode()
DOMPointReadOnly.matrixTransform()
DOMPoint.fromPoint()
DOMQuad.p1
DOMQuad.p2
DOMQuad.p3
DOMQuad.p4
DOMMatrixReadOnly.transformPoint()
SVGGeometryElement.getPointAtLength()
SVGSVGElement.createSVGPoint()
SVGPointList.initialize()
SVGPointList.getItem()
SVGPointList.insertItemBefore()
SVGPointList.replaceItem()
SVGPointList.removeItem()
SVGPointList.appendItem()
SVGTextContentElement.getStartPositionOfChar()
SVGTextContentElement.getEndPositionOfChar()
Referring IDL interfaces/dictionaries
Referring specifications
- CSSOM View Module refers to
DOMPoint
- Scalable Vector Graphics (SVG) 2 refers to
DOMPoint