Class: Translate
Constructors​
constructor​
• new Translate(_, point)
Parameters​
| Name | Type | 
|---|---|
| _ | Document | 
| point | string | 
Defined in​
Properties​
type​
• type: string = 'translate'
Defined in​
point​
• Private Readonly point: Point
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