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