Documentation
On this page

Interface · Desktop Services

DrawingLayer

One composited layer rendered by renderDrawingToPng.

@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43

Members

commands

readonly commands: readonly DrawingCommand[]

Ordered drawing commands contained by the layer.

Type: readonly DrawingCommand[]

isVisible

readonly isVisible: boolean

Whether the layer participates in export.

Type: boolean

opacity

readonly opacity: number

Layer opacity from zero to one.

Type: number

Source

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