Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/math
AffineTransform
Class AffineTransform
Hierarchy
Transform
AffineTransform
Index
Constructors
constructor
Properties
string
Value
tx
ty
x0
x1
y0
y1
Methods
conforms
To
debug
equals
equivalent
To
hash
Code
interpolate
To
inverse
multiply
rotate
scale
scaleX
scaleY
skew
skewX
skewY
to
Affine
to
Attribute
String
to
Css
Transform
Component
to
Css
Value
to
Matrix
to
String
to
Value
transform
transformX
transformY
translate
translateX
translateY
affine
form
from
Any
from
Css
Transform
from
Css
Transform
Component
from
Css
Value
from
Matrix
from
Value
identity
is
Any
list
parse
rotate
scale
scaleX
scaleY
skew
skewX
skewY
translate
translateX
translateY
Constructors
constructor
new
Affine
Transform
(
x0
:
number
, y0
:
number
, x1
:
number
, y1
:
number
, tx
:
number
, ty
:
number
)
:
AffineTransform
Parameters
x0:
number
y0:
number
x1:
number
y1:
number
tx:
number
ty:
number
Returns
AffineTransform
Properties
Readonly
string
Value
string
Value
:
undefined
|
string
Readonly
tx
tx
:
number
Readonly
ty
ty
:
number
Readonly
x0
x0
:
number
Readonly
x1
x1
:
number
Readonly
y0
y0
:
number
Readonly
y1
y1
:
number
Methods
conforms
To
conforms
To
(
that
:
Transform
)
:
boolean
Parameters
that:
Transform
Returns
boolean
debug
debug
(
output
:
Output
<
unknown
>
)
:
void
Parameters
output:
Output
<
unknown
>
Returns
void
equals
equals
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
equivalent
To
equivalent
To
(
that
:
unknown
, epsilon
?:
number
)
:
boolean
Parameters
that:
unknown
Optional
epsilon:
number
Returns
boolean
hash
Code
hash
Code
(
)
:
number
Returns
number
interpolate
To
interpolate
To
(
that
:
AffineTransform
)
:
Interpolator
<
AffineTransform
>
interpolate
To
(
that
:
Transform
)
:
Interpolator
<
Transform
>
interpolate
To
(
that
:
unknown
)
:
null
|
Interpolator
<
Transform
>
Parameters
that:
AffineTransform
Returns
Interpolator
<
AffineTransform
>
Parameters
that:
Transform
Returns
Interpolator
<
Transform
>
Parameters
that:
unknown
Returns
null
|
Interpolator
<
Transform
>
inverse
inverse
(
)
:
Transform
Returns
Transform
multiply
multiply
(
that
:
AffineTransform
)
:
AffineTransform
Parameters
that:
AffineTransform
Returns
AffineTransform
rotate
rotate
(
a
:
AnyAngle
)
:
Transform
Parameters
a:
AnyAngle
Returns
Transform
scale
scale
(
x
:
number
, y
:
number
)
:
Transform
Parameters
x:
number
y:
number
Returns
Transform
scaleX
scaleX
(
x
:
number
)
:
Transform
Parameters
x:
number
Returns
Transform
scaleY
scaleY
(
y
:
number
)
:
Transform
Parameters
y:
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
Css
Transform
Component
to
Css
Transform
Component
(
)
:
null
|
CSSTransformComponent
Returns
null
|
CSSTransformComponent
to
Css
Value
to
Css
Value
(
)
:
null
|
CSSStyleValue
Returns
null
|
CSSStyleValue
to
Matrix
to
Matrix
(
)
:
DOMMatrix
Returns
DOMMatrix
to
String
to
String
(
)
:
string
Returns
string
to
Value
to
Value
(
)
:
Value
Returns
Value
transform
transform
(
that
:
Transform
)
:
Transform
transform
(
x
:
number
, y
:
number
)
:
R2Point
Parameters
that:
Transform
Returns
Transform
Parameters
x:
number
y:
number
Returns
R2Point
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
?:
number
, y0
?:
number
, x1
?:
number
, y1
?:
number
, tx
?:
number
, ty
?:
number
)
:
AffineTransform
Parameters
Optional
x0:
number
Optional
y0:
number
Optional
x1:
number
Optional
y1:
number
Optional
tx:
number
Optional
ty:
number
Returns
AffineTransform
Static
form
form
(
)
:
Form
<
Transform
,
AnyTransform
>
Returns
Form
<
Transform
,
AnyTransform
>
Static
from
Any
from
Any
(
value
:
string
|
AffineTransform
)
:
AffineTransform
Parameters
value:
string
|
AffineTransform
Returns
AffineTransform
Static
from
Css
Transform
from
Css
Transform
(
value
:
CSSTransformValue
)
:
Transform
Parameters
value:
CSSTransformValue
Returns
Transform
Static
from
Css
Transform
Component
from
Css
Transform
Component
(
component
:
CSSMatrixComponent
)
:
AffineTransform
Parameters
component:
CSSMatrixComponent
Returns
AffineTransform
Static
from
Css
Value
from
Css
Value
(
value
:
CSSStyleValue
)
:
Transform
Parameters
value:
CSSStyleValue
Returns
Transform
Static
from
Matrix
from
Matrix
(
matrix
:
DOMMatrixReadOnly
)
:
AffineTransform
Parameters
matrix:
DOMMatrixReadOnly
Returns
AffineTransform
Static
from
Value
from
Value
(
value
:
Value
)
:
null
|
AffineTransform
Parameters
value:
Value
Returns
null
|
AffineTransform
Static
identity
identity
(
)
:
AffineTransform
Returns
AffineTransform
Static
is
Any
is
Any
(
value
:
unknown
)
:
value
is
AnyTransform
Parameters
value:
unknown
Returns
value
is
AnyTransform
Static
list
list
(
...
transforms
:
AnyTransform
[]
)
:
TransformList
Parameters
Rest
...
transforms:
AnyTransform
[]
Returns
TransformList
Static
parse
parse
(
string
:
string
)
:
AffineTransform
Parameters
string:
string
Returns
AffineTransform
Static
rotate
rotate
(
a
:
AnyAngle
)
:
RotateTransform
Parameters
a:
AnyAngle
Returns
RotateTransform
Static
scale
scale
(
x
:
number
, y
:
number
)
:
ScaleTransform
Parameters
x:
number
y:
number
Returns
ScaleTransform
Static
scaleX
scaleX
(
x
:
number
)
:
ScaleTransform
Parameters
x:
number
Returns
ScaleTransform
Static
scaleY
scaleY
(
y
:
number
)
:
ScaleTransform
Parameters
y:
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
Modules
@swim/system
@swim/core
@swim/util
@swim/codec
@swim/mapping
@swim/collections
@swim/constraint
@swim/structure
@swim/streamlet
@swim/dataflow
@swim/recon
@swim/uri
@swim/math
@swim/geo
@swim/time
@swim/mesh
@swim/toolkit
Affine
Transform
constructor
string
Value
tx
ty
x0
x1
y0
y1
conforms
To
debug
equals
equivalent
To
hash
Code
interpolate
To
inverse
multiply
rotate
scale
scaleX
scaleY
skew
skewX
skewY
to
Affine
to
Attribute
String
to
Css
Transform
Component
to
Css
Value
to
Matrix
to
String
to
Value
transform
transformX
transformY
translate
translateX
translateY
affine
form
from
Any
from
Css
Transform
from
Css
Transform
Component
from
Css
Value
from
Matrix
from
Value
identity
is
Any
list
parse
rotate
scale
scaleX
scaleY
skew
skewX
skewY
translate
translateX
translateY
Generated using
TypeDoc