HSVGradientBackground

class HSVGradientBackground(orientation: Orientation, fromHue: Float, fromSaturation: Float, fromValue: Float, fromAlpha: Float, toHue: Float, toSaturation: Float, toValue: Float, toAlpha: Float) : Background

Draws a Background as a linear gradient. The left/bottom is fromHue and the right/top is toHue depending on orientation.

Constructors

Link copied to clipboard
constructor(orientation: Orientation, fromHue: Float, fromSaturation: Float, fromValue: Float, fromAlpha: Float, toHue: Float, toSaturation: Float, toValue: Float, toAlpha: Float)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun draw(x: Float, y: Float, width: Float, height: Float, size: Edges)

Draw the background of an area.