GraphicsContext


Class responsible for providing graphics related dependencies. This includes the creation and management of GraphicsLayer instances.

Summary

Public functions

GraphicsLayer

Create a GraphicsLayer instance.

Cmn
Unit

Releases a GraphicsLayer instance so it can be re-used.

Cmn

Public functions

createGraphicsLayer

fun createGraphicsLayer(): GraphicsLayer

Create a GraphicsLayer instance. This may internally return a previously released GraphicsLayer instance passed to releaseGraphicsLayer

releaseGraphicsLayer

fun releaseGraphicsLayer(layer: GraphicsLayer): Unit

Releases a GraphicsLayer instance so it can be re-used. After this method is invoked, it is an error to use this GraphicsLayer instance again. The GraphicsLayer maybe reused internally and obtained again through a subsequent call to createGraphicsLayer