Liking cljdoc? Tell your friends :D

dom.DOMPoint

A DOMPoint object represents a 2D or 3D point in a coordinate it includes values for the coordinates in up to three dimensions, well as an optional perspective value.

A DOMPoint object represents a 2D or 3D point in a coordinate
it includes values for the coordinates in up to three dimensions,
well as an optional perspective value.
raw docstring

constructorcljs

Constructor.

The DOMPoint() constructor creates and returns a new dom.DOMPoint object, given the values for some or all of its properties.

x Optional The x coordinate for the new DOMPoint. y Optional The y coordinate for the new DOMPoint. z Optional The z coordinate for the new DOMPoint. w Optional The perspective value of the new DOMPoint.

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/DOMPoint

Constructor.

The DOMPoint() constructor creates and returns a new `dom.DOMPoint` object, given the values for some or all of its properties.

x Optional
The x coordinate for the new DOMPoint.
y Optional
The y coordinate for the new DOMPoint.
z Optional
The z coordinate for the new DOMPoint.
w Optional
The perspective value of the new DOMPoint.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/DOMPoint`
sourceraw docstring

from-pointcljs

(from-point this source-point)

Method.

The static dom.DOMPoint method fromPoint() creates and returns new mutable DOMPoint object given a source point.

var point = DOMPoint.fromPoint(sourcePoint);

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/DOMPoint.fromPoint()

Method.

The static `dom.DOMPoint` method fromPoint() creates and returns
new mutable DOMPoint object given a source point.

`var point = DOMPoint.fromPoint(sourcePoint);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/DOMPoint.fromPoint()`
sourceraw docstring

set-w!cljs

(set-w! this val)

Property.

The DOMPoint interface's w property holds the point's perspective w, for a point in space.

var perspective = DOMPoint.w;

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/w

Property.

The DOMPoint interface's w property holds the point's perspective
w, for a point in space.

`var perspective = DOMPoint.w;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/w`
sourceraw docstring

set-x!cljs

(set-x! this val)

Property.

The DOMPoint interface's x property holds the horizontal coordinate, for a point in space.

var xPos = DOMPoint.x;

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/x

Property.

The DOMPoint interface's x property holds the horizontal coordinate,
for a point in space.

`var xPos = DOMPoint.x;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/x`
sourceraw docstring

set-y!cljs

(set-y! this val)

Property.

The DOMPoint interface's y property holds the vertical coordinate, for a point in space.

var yPos = DOMPoint.y;

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/y

Property.

The DOMPoint interface's y property holds the vertical coordinate,
for a point in space.

`var yPos = DOMPoint.y;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/y`
sourceraw docstring

set-z!cljs

(set-z! this val)

Property.

The DOMPoint interface's z property specifies the depth coordinate a point in space.

var zPos = DOMPoint.z;

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/z

Property.

The DOMPoint interface's z property specifies the depth coordinate
a point in space.

`var zPos = DOMPoint.z;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/z`
sourceraw docstring

wcljs

(w this)

Property.

The DOMPoint interface's w property holds the point's perspective w, for a point in space.

var perspective = DOMPoint.w;

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/w

Property.

The DOMPoint interface's w property holds the point's perspective
w, for a point in space.

`var perspective = DOMPoint.w;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/w`
sourceraw docstring

xcljs

(x this)

Property.

The DOMPoint interface's x property holds the horizontal coordinate, for a point in space.

var xPos = DOMPoint.x;

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/x

Property.

The DOMPoint interface's x property holds the horizontal coordinate,
for a point in space.

`var xPos = DOMPoint.x;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/x`
sourceraw docstring

ycljs

(y this)

Property.

The DOMPoint interface's y property holds the vertical coordinate, for a point in space.

var yPos = DOMPoint.y;

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/y

Property.

The DOMPoint interface's y property holds the vertical coordinate,
for a point in space.

`var yPos = DOMPoint.y;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/y`
sourceraw docstring

zcljs

(z this)

Property.

The DOMPoint interface's z property specifies the depth coordinate a point in space.

var zPos = DOMPoint.z;

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/z

Property.

The DOMPoint interface's z property specifies the depth coordinate
a point in space.

`var zPos = DOMPoint.z;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/z`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close