Skip to main content

Interface: IDrawable

Properties

anchorPoint

anchorPoint: Point

Source

IDrawable.ts:16


zPosition

zPosition: number

Source

IDrawable.ts:17

Methods

dispose()

Internal

dispose(): void

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.

Source

IDrawable.ts:15


draw()

draw(canvas): void

Parameters

canvas: Canvas

Returns

void

Source

IDrawable.ts:5


warmup()

warmup(canvas): void

Parameters

canvas: Canvas

Returns

void

Source

IDrawable.ts:6