Documentation
On this page

Interface · Desktop Services

DrawingDocument

Logical drawing document rendered by renderDrawingToPng.

@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43

Members

background

readonly background?: string

Optional canvas background; omitted output remains transparent.

Type: string

height

readonly height: number

Output height in pixels.

Type: number

layers

readonly layers: readonly DrawingLayer[]

Back-to-front ordered drawing layers.

Type: readonly DrawingLayer[]

width

readonly width: number

Output width in pixels.

Type: number

Source

SharpTS.Gui.Sdk/GuiPackage/runtime.ts:1234 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.