DOMPoint extension type
A DOMPoint
object represents a 2D or 3D point in a coordinate system;
it includes values for the coordinates in up to three dimensions, as well as
an optional perspective value. DOMPoint
is based on DOMPointReadOnly but
allows its properties' values to be changed.
In general, a positive x
component represents a position to the right of
the origin, a positive y
component is downward from the origin, and a
positive z
component extends outward from the screen (in other words,
toward the user).
- on
- Implemented types
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- w ↔ num
-
getter/setter pairoverride-getter
- x ↔ num
-
getter/setter pairoverride-getter
- y ↔ num
-
getter/setter pairoverride-getter
- z ↔ num
-
getter/setter pairoverride-getter
Methods
-
matrixTransform(
[DOMMatrixInit matrix]) → DOMPoint -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
) → JSObject -
The DOMPointReadOnly method
toJSON()
returns an object giving the form of the point object.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromPoint(
[DOMPointInit other]) → DOMPoint -
override