Skip to content

Interface: IGraphicsRenderer ​

2D vector primitives. Used by GraphicsRenderSystem and as a mask source for MaskSystem.

Methods ​

CreateGraphics() ​

ts
CreateGraphics(): number;

Returns ​

number


DestroyGraphics() ​

ts
DestroyGraphics(handle): void;

Parameters ​

ParameterType
handlenumber

Returns ​

void


SetGraphicsShapes() ​

ts
SetGraphicsShapes(handle, shapes): void;

Replaces — wipes path/fills/strokes and replays from shapes.

Parameters ​

ParameterType
handlenumber
shapesreadonly GraphicsShape[]

Returns ​

void

© 2026 PlayAdGentic