BrushedMetalDecorationPainter

Implementation of AuroraDecorationPainter that uses brushed metal painting on decoration areas.

Author

Kirill Grouchnikov

Constructors

Link copied to clipboard
fun BrushedMetalDecorationPainter()

Functions

Link copied to clipboard
open override fun getShaderData(density: Density, componentSize: Size, offsetFromRoot: Offset, fillScheme: AuroraColorScheme): Data
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

Link copied to clipboard
val baseDecorationPainter: AuroraDecorationPainter? = null
Link copied to clipboard
open override val displayName: String

The display name of this trait.

Link copied to clipboard
val runtimeEffect: RuntimeEffect