FromRandomOptions

sealed interface FromRandomOptions(source)

Properties

Link copied to clipboard
abstract var alpha: Double?

If specified, the alpha component to use instead of a randomized value.

Link copied to clipboard
abstract var blue: Double?

If specified, the blue component to use instead of a randomized value.

Link copied to clipboard
abstract var green: Double?

If specified, the green component to use instead of a randomized value.

Link copied to clipboard
abstract var maximumAlpha: Double?

The minimum alpha value to generate if none was specified. Default value - 1.0

Link copied to clipboard
abstract var maximumBlue: Double?

The minimum blue value to generate if none was specified. Default value - 1.0

Link copied to clipboard
abstract var maximumGreen: Double?

The minimum green value to generate if none was specified. Default value - 1.0

Link copied to clipboard
abstract var maximumRed: Double?

The minimum red value to generate if none was specified. Default value - 1.0

Link copied to clipboard
abstract var minimumAlpha: Double?

The maximum alpha value to generate if none was specified. Default value - 0.0

Link copied to clipboard
abstract var minimumBlue: Double?

The maximum blue value to generate if none was specified. Default value - 0.0

Link copied to clipboard
abstract var minimumGreen: Double?

The maximum green value to generate if none was specified. Default value - 0.0

Link copied to clipboard
abstract var minimumRed: Double?

The maximum red value to generate if none was specified. Default value - 0.0

Link copied to clipboard
abstract var red: Double?

If specified, the red component to use instead of a randomized value.