Source set: Common
inner class BorderLogicLayerDelegate
Border logic that correctly manages the GraphicsLayer, should be released in onDetach
Properties
borderLogic
Source set: Common
val borderLogic = BorderLogic()
layer
Source set: Common
var layer: GraphicsLayer?
Functions
drawBorder
fun drawBorder(
drawScope: DrawScope,
width: () -> Dp,
inset: () -> Dp,
brush: Brush,
outline: Outline,
)
obtainGraphicsLayer
fun obtainGraphicsLayer(): GraphicsLayer
release
fun release()