Skip to main content

Class: SkewX

Hierarchy​

Constructors​

constructor​

• new SkewX(document, skew, transformOrigin)

Parameters​

NameType
documentDocument
skewstring
transformOriginreadonly [Property<string>, Property<string>]

Overrides​

Skew.constructor

Defined in​

src/Transform/SkewX.ts:8

Properties​

matrix​

• Protected matrix: MatrixValue

Inherited from​

Skew.matrix

Defined in​

src/Transform/Matrix.ts:10


angle​

• Protected Readonly angle: Property<unknown>

Inherited from​

Skew.angle

Defined in​

src/Transform/Skew.ts:7


type​

• type: string = 'skewX'

Overrides​

Skew.type

Defined in​

src/Transform/SkewX.ts:6

Methods​

apply​

â–¸ apply(ctx): void

Parameters​

NameType
ctxRenderingContext2D

Returns​

void

Inherited from​

Skew.apply

Defined in​

src/Transform/Matrix.ts:24


unapply​

â–¸ unapply(ctx): void

Parameters​

NameType
ctxRenderingContext2D

Returns​

void

Inherited from​

Skew.unapply

Defined in​

src/Transform/Matrix.ts:45


applyToPoint​

â–¸ applyToPoint(point): void

Parameters​

NameType
pointPoint

Returns​

void

Inherited from​

Skew.applyToPoint

Defined in​

src/Transform/Matrix.ts:76