Class: Rotate
Constructors​
constructor​
• new Rotate(document
, rotate
, transformOrigin
)
Parameters​
Name | Type |
---|---|
document | Document |
rotate | string |
transformOrigin | readonly [Property <string >, Property <string >] |
Defined in​
Properties​
type​
• type: string
= 'rotate'
Defined in​
angle​
• Private
Readonly
angle: Property
<unknown
>
Defined in​
originX​
• Private
Readonly
originX: Property
<unknown
>
Defined in​
originY​
• Private
Readonly
originY: Property
<unknown
>
Defined in​
cx​
• Private
Readonly
cx: number
Defined in​
cy​
• Private
Readonly
cy: number
Defined in​
Methods​
apply​
â–¸ apply(ctx
): void
Parameters​
Name | Type |
---|---|
ctx | RenderingContext2D |
Returns​
void
Defined in​
unapply​
â–¸ unapply(ctx
): void
Parameters​
Name | Type |
---|---|
ctx | RenderingContext2D |
Returns​
void
Defined in​
applyToPoint​
â–¸ applyToPoint(point
): void
Parameters​
Name | Type |
---|---|
point | Point |
Returns​
void