Search
Preparing search index...
The search index is not available
canvg
Options
All
Public
Public/Protected
All
Inherited
Menu
canvg
Transform
Class Transform
Hierarchy
Transform
Index
Constructors
constructor
Properties
transforms
transform
Types
Methods
apply
apply
To
Point
unapply
from
Element
Constructors
constructor
new
Transform
(
document
:
Document
, transform
:
string
, transformOrigin
:
readonly
[
Property
<
string
>
,
Property
<
string
>
]
)
:
Transform
Parameters
document:
Document
transform:
string
transformOrigin:
readonly
[
Property
<
string
>
,
Property
<
string
>
]
Returns
Transform
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
To
Point
apply
To
Point
(
point
:
Point
)
:
void
Parameters
point:
Point
Returns
void
unapply
unapply
(
ctx
:
RenderingContext2D
)
:
void
Parameters
ctx:
RenderingContext2D
Returns
void
Static
from
Element
from
Element
(
document
:
Document
, element
:
Element
)
:
Transform
Parameters
document:
Document
element:
Element
Returns
Transform
Exports
presets
Transform
constructor
transforms
transform
Types
apply
apply
To
Point
unapply
from
Element
Generated using
TypeDoc