Skip to main content
Defined in: modules/graphics-2d/src/graphics-context.type.ts:4 Public surface of Graphics2DLibrary, exposed on Context.graphics.

Properties

baseLayer

readonly baseLayer: Layer
Defined in: modules/graphics-2d/src/graphics-context.type.ts:11 The default Konva Layer added to the stage — add shapes here to render them.

stage

readonly stage: Stage
Defined in: modules/graphics-2d/src/graphics-context.type.ts:9 The Konva Stage, scaled so its coordinates are in the viewport’s design resolution and resized on every viewport change.