ColorPaint

class ColorPaint(val color: Color) : Paint

A basic Paint consisting of a single Color.

Author

Nicholas Eddy

Constructors

Link copied to clipboard
constructor(color: Color)

Properties

Link copied to clipboard

of the paint

Link copied to clipboard
open override val visible: Boolean

false if color.opacity == 0

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int

Inherited functions

Link copied to clipboard
operator fun Paint?.invoke(target: Target = Foreground, text: () -> StyledText): StyledText
operator fun Paint?.invoke(text: String, target: Target = Foreground): StyledText