WorldWindDrawEngine

constructor(scope: CoroutineScope, overlay: OverlayEngine? = null, historyCapacity: Int = 100, handleStyle: HandleStyle = HandleStyle(), highlightStyle: HighlightStyle = HighlightStyle(), buildOnFirstFrame: Boolean = false)

Parameters

scope

the scope the layer builds the shapes in (the host's own, so that it ends when the host's does).

overlay

what merges and cuts polygons (mergeWith, cutBy); null if the host does not need them, then they do nothing.

historyCapacity

how many steps can be undone.

handleStyle

how the handles of a shape being edited look; can be changed later through layer.

highlightStyle

how a selected shape is marked; can be changed later through layer.

buildOnFirstFrame

whether the layer builds the shapes in the first frame instead of in the background (see DrawLayer).