Skip to main content

Interface: IDrawable

Properties

anchorPoint

anchorPoint: Point

Defined in

IDrawable.ts:16


zPosition

zPosition: number

Defined in

IDrawable.ts:17

Methods

dispose()

dispose(): void

Internal

Frees up resources allocated by the Drawable M2Node.

For m2c2kit library use only

Returns

void

Remarks

This will be done automatically by the m2c2kit library; the end-user must not call this.

Defined in

IDrawable.ts:15


draw()

draw(canvas): void

Parameters

canvas: Canvas

Returns

void

Defined in

IDrawable.ts:5


warmup()

warmup(canvas): void

Parameters

canvas: Canvas

Returns

void

Defined in

IDrawable.ts:6