Search
Preparing search index...
The search index is not available
canvg
Options
All
Public
Public/Protected
All
Inherited
Menu
canvg
Transform/Rotate
default
Class default
Hierarchy
default
Index
Constructors
constructor
Properties
angle
cx
cy
originX
originY
type
Methods
apply
apply
ToPoint
unapply
Constructors
constructor
new default
(
document
:
default
, rotate
:
string
, transformOrigin
:
[
default
<
string
>
,
default
<
string
>
]
)
:
default
Parameters
document:
default
rotate:
string
transformOrigin:
[
default
<
string
>
,
default
<
string
>
]
Returns
default
Properties
Private
Readonly
angle
angle
:
default
<
any
>
= null
Private
Readonly
cx
cx
:
number
= 0
Private
Readonly
cy
cy
:
number
= 0
Private
Readonly
originX
originX
:
default
<
any
>
= null
Private
Readonly
originY
originY
:
default
<
any
>
= null
type
type
:
string
= 'rotate'
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
Exports
Transform/
Rotate
default
constructor
angle
cx
cy
originX
originY
type
apply
apply
ToPoint
unapply
Generated using
TypeDoc