Class: Scale
Constructors​
constructor​
• new Scale(_, scale, transformOrigin)
Parameters​
| Name | Type | 
|---|---|
| _ | Document | 
| scale | string | 
| transformOrigin | readonly [ Property<string>,Property<string>] | 
Defined in​
Properties​
type​
• type: string = 'scale'
Defined in​
scale​
• Private Readonly scale: Point
Defined in​
originX​
• Private Readonly originX: Property<unknown>
Defined in​
originY​
• Private Readonly originY: Property<unknown>
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