Search
Preparing search index...
The search index is not available
canvg
Options
All
Public
Public/Protected
All
Inherited
Menu
canvg
Transform/Transform
default
Class default
Hierarchy
default
Index
Constructors
constructor
Properties
transforms
transform
Types
Methods
apply
apply
ToPoint
unapply
from
Element
Constructors
constructor
new default
(
document
:
default
, transform
:
string
, transformOrigin
?:
readonly
[
default
<
string
>
,
default
<
string
>
]
)
:
default
Parameters
document:
default
transform:
string
Optional
transformOrigin:
readonly
[
default
<
string
>
,
default
<
string
>
]
Returns
default
Properties
Private
Readonly
transforms
transforms
:
ITransform
[]
= []
Static
transform
Types
transform
Types
:
Record
<
string
,
ITransformConstructor
>
= ...
Methods
apply
apply
(
ctx
:
RenderingContext2D
)
:
void
Parameters
ctx:
RenderingContext2D
Returns
void
apply
ToPoint
apply
ToPoint
(
point
:
default
)
:
void
Parameters
point:
default
Returns
void
unapply
unapply
(
ctx
:
RenderingContext2D
)
:
void
Parameters
ctx:
RenderingContext2D
Returns
void
Static
from
Element
from
Element
(
document
:
default
, element
:
default
)
:
default
Parameters
document:
default
element:
default
Returns
default
Exports
Transform/
Transform
Matrix
Rotate
Scale
Skew
SkewX
SkewY
Translate
default
constructor
transforms
transform
Types
apply
apply
ToPoint
unapply
from
Element
Generated using
TypeDoc