BlendOperation


class BlendOperation


Defines the operation to perform when blending color values.

Summary

Constants

const Int
Add = 1

The result is the sum of the source and destination.

const Int
Max = 5

The result is the maximum of the source and destination.

const Int
Min = 4

The result is the minimum of the source and destination.

const Int

The result is the source subtracted from the destination.

const Int

The result is the destination subtracted from the source.

const Int

Indicates that no blend operation is specified.

Public companion functions

String
toString(value: Int)

Constants

Add

const val Add = 1: Int

The result is the sum of the source and destination.

Max

const val Max = 5: Int

The result is the maximum of the source and destination.

Min

const val Min = 4: Int

The result is the minimum of the source and destination.

ReverseSubtract

const val ReverseSubtract = 3: Int

The result is the source subtracted from the destination.

Subtract

const val Subtract = 2: Int

The result is the destination subtracted from the source.

Undefined

const val Undefined = 0: Int

Indicates that no blend operation is specified.

Public companion functions

toString

Added in 1.0.0-alpha05
fun toString(value: Int): String