MatteDecorationPainter

class MatteDecorationPainter : AuroraDecorationPainter

Implementation of AuroraDecorationPainter that uses matte painting on decoration areas.

Author

Kirill Grouchnikov

Constructors

MatteDecorationPainter
Link copied to clipboard
fun MatteDecorationPainter()

Types

Companion
Link copied to clipboard
object Companion

Functions

paintDecorationArea
Link copied to clipboard
open override fun paintDecorationArea(drawScope: DrawScope, decorationAreaType: DecorationAreaType, componentSize: Size, outline: Outline, rootSize: Size, offsetFromRoot: Offset, colorScheme: AuroraColorScheme)

Paints the decoration area as a specified shape.

Properties

displayName
Link copied to clipboard
open override val displayName: String

The display name of this trait.