WebKitCSSTransformValue Class Reference

Inherits from
CSSValueList : CSSValue
Availability
Available in Safari 4.0 and later.
Available in iOS 2.0 and later.
Companion guide

Overview

WebKitCSSTransformValue objects represent one transform function in a CSS transform specified using the -webkit-transform property. The operationType property in this class specifies which function is used. The objects also contain a list of values which are the parameters to the function. The parameters appear in the same order as they appear in the function.

Tasks

Accessing Properties

Properties

operationType

The transform function used. Possible values are described in CSS_MATRIX.

readonly attribute unsigned short operationType;
Availability

Constants

Constants
CSS_MATRIX

Specifies the matrix transform function.

const unsigned short CSS_MATRIX      = 1;

Available in Safari 4.0 and later.

Available in iOS 2.0 and later.

CSS_MATRIX3D

Specifies the matrix3d transform function.

const unsigned short CSS_MATRIX3D    = 2;

Available in Safari 4.0.3 and later.

Available in iOS 2.0 and later.

CSS_PERSPECTIVE

Specifies the perspective transform function.

const unsigned short CSS_PERSPECTIVE = 12;

Available in Safari 4.0.3 and later.

Available in iOS 2.0 and later.

CSS_ROTATE

Specifies the rotate transform function.

const unsigned short CSS_ROTATE      = 3;

Available in Safari 4.0 and later.

Available in iOS 2.0 and later.

CSS_ROTATE3D

Specifies the rotate3d transform function.

const unsigned short CSS_ROTATE3D    = 4;

Available in Safari 4.0.3 and later.

Available in iOS 2.0 and later.

CSS_ROTATEX

Specifies the rotateX transform function.

const unsigned short CSS_ROTATEX     = 13;

Available in Safari 4.0.3 and later.

Available in iOS 2.0 and later.

CSS_ROTATEY

Specifies the rotateY transform function.

const unsigned short CSS_ROTATEY     = 14;

Available in Safari 4.0.3 and later.

Available in iOS 2.0 and later.

CSS_ROTATEZ

Specifies the rotateZ transform transform function.

const unsigned short CSS_ROTATEZ     = 15;

Available in Safari 4.0.3 and later.

Available in iOS 2.0 and later.

CSS_SCALE

Specifies the scale transform function.

const unsigned short CSS_SCALE       = 7;

Available in Safari 4.0 and later.

Available in iOS 2.0 and later.

CSS_SCALE3D

Specifies the scale3d transform function.

const unsigned short CSS_SCALE3D     = 8;

Available in Safari 4.0.3 and later.

Available in iOS 2.0 and later.

CSS_SCALEX

Specifies the scaleX transform function.

const unsigned short CSS_SCALEX      = 19;

Available in Safari 4.0 and later.

Available in iOS 2.0 and later.

CSS_SCALEY

Specifies the scaleY transform function.

const unsigned short CSS_SCALEY      = 20;

Available in Safari 4.0 and later.

Available in iOS 2.0 and later.

CSS_SCALEZ

Specifies the scaleZ transform function.

const unsigned short CSS_SCALEZ      = 21;

Available in iOS 2.0 and later.

CSS_SKEW

Specifies the skew transform function.

const unsigned short CSS_SKEW        = 8;

Available in Safari 4.0 and later.

CSS_SKEWX

Specifies the skewX transform function.

const unsigned short CSS_SKEWX       = 9;

Available in Safari 4.0 and later.

Available in iOS 2.0 and later.

CSS_SKEWY

Specifies the skewY transform function.

const unsigned short CSS_SKEWY       = 10;

Available in Safari 4.0 and later.

Available in iOS 2.0 and later.

CSS_TRANSLATE

Specifies the translate transform function.

const unsigned short CSS_TRANSLATE   = 5;

Available in Safari 4.0 and later.

Available in iOS 2.0 and later.

CSS_TRANSLATE3D

Specifies the translate3d transform function.

const unsigned short CSS_TRANSLATE3D = 6;

Available in Safari 4.0.3 and later.

Available in iOS 2.0 and later.

CSS_TRANSLATEX

Specifies the translateX transform function.

const unsigned short CSS_TRANSLATEX  = 16;

Available in Safari 4.0 and later.

Available in iOS 2.0 and later.

CSS_TRANSLATEY

Specifies the translateY transform function.

const unsigned short CSS_TRANSLATEY  = 17;

Available in Safari 4.0 and later.

Available in iOS 2.0 and later.

CSS_TRANSLATEZ

Specifies the translateZ transform function.

const unsigned short CSS_TRANSLATEZ  = 18;

Available in Safari 4.0.3 and later.

Available in iOS 2.0 and later.

CSS_UNKNOWN

An unknown function.

const unsigned short CSS_UNKNOWN     = 0;

Available in Safari 4.0.3 and later.

Available in iOS 2.0 and later.