BlendOperation


public final class BlendOperation


Defines the operation to perform when blending color values.

Summary

Constants

static final int
Add = 1

The result is the sum of the source and destination.

static final int
Max = 5

The result is the maximum of the source and destination.

static final int
Min = 4

The result is the minimum of the source and destination.

static final int

The result is the source subtracted from the destination.

static final int

The result is the destination subtracted from the source.

static final int

Indicates that no blend operation is specified.

Public methods

static final @NonNull String
toString(int value)

Constants

Add

public static final int Add = 1

The result is the sum of the source and destination.

Max

public static final int Max = 5

The result is the maximum of the source and destination.

Min

public static final int Min = 4

The result is the minimum of the source and destination.

ReverseSubtract

public static final int ReverseSubtract = 3

The result is the source subtracted from the destination.

Subtract

public static final int Subtract = 2

The result is the destination subtracted from the source.

Undefined

public static final int Undefined = 0

Indicates that no blend operation is specified.

Public methods

toString

Added in 1.0.0-alpha05
public static final @NonNull String toString(int value)