Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/transform
Transform
Class Transform
Hierarchy
Transform
IdentityTransform
TranslateTransform
ScaleTransform
RotateTransform
SkewTransform
TransformList
AffineTransform
Implements
Transformation
R2Operator
HashCode
Debug
Index
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
Methods
Abstract
conforms
To
conforms
To
(
that
:
Transform
)
:
boolean
Parameters
that:
Transform
Returns
boolean
Abstract
debug
debug
(
output
:
Output
)
:
void
Parameters
output:
Output
Returns
void
Abstract
equals
equals
(
that
:
Transform
)
:
boolean
Parameters
that:
Transform
Returns
boolean
Abstract
hash
Code
hash
Code
(
)
:
number
Returns
number
Abstract
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
Abstract
to
Affine
to
Affine
(
)
:
AffineTransform
Returns
AffineTransform
to
Attribute
String
to
Attribute
String
(
)
:
string
Returns
string
Abstract
to
String
to
String
(
)
:
string
Returns
string
Abstract
to
Value
to
Value
(
)
:
Value
Returns
Value
Abstract
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
]
Abstract
transformX
transformX
(
x
:
number
, y
:
number
)
:
number
Parameters
x:
number
y:
number
Returns
number
Abstract
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
:
AnyTransform
)
:
Transform
Parameters
value:
AnyTransform
Returns
Transform
Static
from
Value
from
Value
(
value
:
Value
)
:
Transform
|
undefined
Parameters
value:
Value
Returns
Transform
|
undefined
Static
identity
identity
(
)
:
IdentityTransform
Returns
IdentityTransform
Static
list
list
(
...
transforms
:
AnyTransform
[]
)
:
TransformList
Parameters
Rest
...
transforms:
AnyTransform
[]
Returns
TransformList
Static
parse
parse
(
string
:
string
)
:
Transform
Parameters
string:
string
Returns
Transform
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
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
Transform
List
Translate
Transform
Transformation
Any
Transform