CSSScale extension type
The CSSScale
interface of the
CSS Typed Object Model API
represents the
scale()
and
scale3d()
values of the individual transform
property in CSS. It inherits properties
and methods from its parent CSSTransformValue.
API documentation sourced from MDN Web Docs.
- on
- Implemented types
- Available extensions
Constructors
- CSSScale(CSSNumberish x, CSSNumberish y, [CSSNumberish z])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- is2D ↔ bool
-
The
is2D
read-only property of the CSSTransformComponent interface indicates where the transform is 2D or 3D.getter/setter pairinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- x ↔ CSSNumberish
-
The
x
property of the CSSScale interface gets and sets the abscissa or x-axis of the translating vector.getter/setter pair - y ↔ CSSNumberish
-
The
y
property of the CSSScale interface gets and sets the ordinate or y-axis of the translating vector.getter/setter pair - z ↔ CSSNumberish
-
The
z
property of the CSSScale interface representing the z-component of the translating vector. A positive value moves the element towards the viewer, and a negative value farther away.getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMatrix(
) → DOMMatrix -
The
toMatrix()
method of the CSSTransformComponent interface returns a DOMMatrix object.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited