Documentation
On this page

Interface · Desktop Services

DrawingLayer

One composited layer rendered by renderDrawingToPng.

@sharpts/gui · SharpTS 572a2e31be0e

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

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