Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/transform
TransformList
Class TransformList
Hierarchy
Transform
TransformList
Implements
Transformation
R2Operator
HashCode
Debug
Index
Constructors
constructor
Accessors
transforms
Methods
conforms
To
debug
equals
hash
Code
inverse
rotate
scale
scaleX
scaleY
skew
skewX
skewY
to
Affine
to
Attribute
String
to
String
to
Value
transform
transformX
transformY
translate
translateX
translateY
affine
form
from
Any
from
Value
identity
list
parse
rotate
scale
scaleX
scaleY
skew
skewX
skewY
translate
translateX
translateY
Constructors
constructor
new
Transform
List
(
transforms
:
ReadonlyArray
<
AnyTransform
>
)
:
TransformList
Parameters
transforms:
ReadonlyArray
<
AnyTransform
>
Returns
TransformList
Accessors
transforms
get
transforms
(
)
:
ReadonlyArray
<
Transform
>
Returns
ReadonlyArray
<
Transform
>
Methods
conforms
To
conforms
To
(
that
:
Transform
)
:
boolean
Parameters
that:
Transform
Returns
boolean
debug
debug
(
output
:
Output
)
:
void
Parameters
output:
Output
Returns
void
equals
equals
(
that
:
Transform
)
:
boolean
Parameters
that:
Transform
Returns
boolean
hash
Code
hash
Code
(
)
:
number
Returns
number
inverse
inverse
(
)
:
Transform
Returns
Transform
rotate
rotate
(
a
:
AnyAngle
)
:
Transform
Parameters
a:
AnyAngle
Returns
Transform
scale
scale
(
x
:
string
|
number
, y
:
string
|
number
)
:
Transform
Parameters
x:
string
|
number
y:
string
|
number
Returns
Transform
scaleX
scaleX
(
x
:
string
|
number
)
:
Transform
Parameters
x:
string
|
number
Returns
Transform
scaleY
scaleY
(
y
:
string
|
number
)
:
Transform
Parameters
y:
string
|
number
Returns
Transform
skew
skew
(
x
:
AnyAngle
, y
:
AnyAngle
)
:
Transform
Parameters
x:
AnyAngle
y:
AnyAngle
Returns
Transform
skewX
skewX
(
x
:
AnyAngle
)
:
Transform
Parameters
x:
AnyAngle
Returns
Transform
skewY
skewY
(
y
:
AnyAngle
)
:
Transform
Parameters
y:
AnyAngle
Returns
Transform
to
Affine
to
Affine
(
)
:
AffineTransform
Returns
AffineTransform
to
Attribute
String
to
Attribute
String
(
)
:
string
Returns
string
to
String
to
String
(
)
:
string
Returns
string
to
Value
to
Value
(
)
:
Value
Returns
Value
transform
transform
(
that
:
Transform
)
:
Transform
transform
(
point
:
[
number
,
number
]
)
:
[
number
,
number
]
transform
(
x
:
number
, y
:
number
)
:
[
number
,
number
]
transform
(
point
:
[
AnyLength
,
AnyLength
]
)
:
[
Length
,
Length
]
transform
(
x
:
AnyLength
, y
:
AnyLength
)
:
[
Length
,
Length
]
Parameters
that:
Transform
Returns
Transform
Parameters
point:
[
number
,
number
]
Returns
[
number
,
number
]
Parameters
x:
number
y:
number
Returns
[
number
,
number
]
Parameters
point:
[
AnyLength
,
AnyLength
]
Returns
[
Length
,
Length
]
Parameters
x:
AnyLength
y:
AnyLength
Returns
[
Length
,
Length
]
transformX
transformX
(
x
:
number
, y
:
number
)
:
number
Parameters
x:
number
y:
number
Returns
number
transformY
transformY
(
x
:
number
, y
:
number
)
:
number
Parameters
x:
number
y:
number
Returns
number
translate
translate
(
x
:
AnyLength
, y
:
AnyLength
)
:
Transform
Parameters
x:
AnyLength
y:
AnyLength
Returns
Transform
translateX
translateX
(
x
:
AnyLength
)
:
Transform
Parameters
x:
AnyLength
Returns
Transform
translateY
translateY
(
y
:
AnyLength
)
:
Transform
Parameters
y:
AnyLength
Returns
Transform
Static
affine
affine
(
x0
?:
string
|
number
, y0
?:
string
|
number
, x1
?:
string
|
number
, y1
?:
string
|
number
, tx
?:
string
|
number
, ty
?:
string
|
number
)
:
AffineTransform
Parameters
Optional
x0:
string
|
number
Optional
y0:
string
|
number
Optional
x1:
string
|
number
Optional
y1:
string
|
number
Optional
tx:
string
|
number
Optional
ty:
string
|
number
Returns
AffineTransform
Static
form
form
(
unit
?:
AnyTransform
)
:
Form
<
Transform
,
AnyTransform
>
Parameters
Optional
unit:
AnyTransform
Returns
Form
<
Transform
,
AnyTransform
>
Static
from
Any
from
Any
(
value
:
TransformList
|
string
)
:
TransformList
Parameters
value:
TransformList
|
string
Returns
TransformList
Static
from
Value
from
Value
(
value
:
Value
)
:
TransformList
|
undefined
Parameters
value:
Value
Returns
TransformList
|
undefined
Static
identity
identity
(
)
:
IdentityTransform
Returns
IdentityTransform
Static
list
list
(
...
transforms
:
AnyTransform
[]
)
:
TransformList
Parameters
Rest
...
transforms:
AnyTransform
[]
Returns
TransformList
Static
parse
parse
(
string
:
string
)
:
TransformList
Parameters
string:
string
Returns
TransformList
Static
rotate
rotate
(
a
:
AnyAngle
)
:
RotateTransform
Parameters
a:
AnyAngle
Returns
RotateTransform
Static
scale
scale
(
x
:
string
|
number
, y
:
string
|
number
)
:
ScaleTransform
Parameters
x:
string
|
number
y:
string
|
number
Returns
ScaleTransform
Static
scaleX
scaleX
(
x
:
string
|
number
)
:
ScaleTransform
Parameters
x:
string
|
number
Returns
ScaleTransform
Static
scaleY
scaleY
(
y
:
string
|
number
)
:
ScaleTransform
Parameters
y:
string
|
number
Returns
ScaleTransform
Static
skew
skew
(
x
:
AnyAngle
, y
:
AnyAngle
)
:
SkewTransform
Parameters
x:
AnyAngle
y:
AnyAngle
Returns
SkewTransform
Static
skewX
skewX
(
x
:
AnyAngle
)
:
SkewTransform
Parameters
x:
AnyAngle
Returns
SkewTransform
Static
skewY
skewY
(
y
:
AnyAngle
)
:
SkewTransform
Parameters
y:
AnyAngle
Returns
SkewTransform
Static
translate
translate
(
x
:
AnyLength
, y
:
AnyLength
)
:
TranslateTransform
Parameters
x:
AnyLength
y:
AnyLength
Returns
TranslateTransform
Static
translateX
translateX
(
x
:
AnyLength
)
:
TranslateTransform
Parameters
x:
AnyLength
Returns
TranslateTransform
Static
translateY
translateY
(
y
:
AnyLength
)
:
TranslateTransform
Parameters
y:
AnyLength
Returns
TranslateTransform
Globals
@swim/core
@swim/mesh
@swim/ui
@swim/angle
@swim/animate
@swim/color
@swim/constraint
@swim/dom
@swim/font
@swim/gesture
@swim/interpolate
@swim/length
@swim/render
@swim/scale
@swim/shape
@swim/style
@swim/transform
@swim/transition
@swim/typeset
@swim/view
@swim/ux
@swim/web
Affine
Transform
Identity
Transform
Rotate
Transform
Scale
Transform
Skew
Transform
Transform
Transform
List
constructor
transforms
conforms
To
debug
equals
hash
Code
inverse
rotate
scale
scaleX
scaleY
skew
skewX
skewY
to
Affine
to
Attribute
String
to
String
to
Value
transform
transformX
transformY
translate
translateX
translateY
affine
form
from
Any
from
Value
identity
list
parse
rotate
scale
scaleX
scaleY
skew
skewX
skewY
translate
translateX
translateY
Translate
Transform
Transformation
Any
Transform