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).
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).