Documentation
On this page

Interface · Desktop Services

DrawingDocument

Logical drawing document rendered by renderDrawingToPng.

@sharpts/gui · SharpTS 572a2e31be0e

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

src/SharpTS.Gui.Sdk/GuiPackage/runtime.ts:1299 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.