Interface ColorOrBuilder (3.40.0)

public interface ColorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBlue()

public abstract float getBlue()

The amount of blue in the color as a value in the interval [0, 1].

float blue = 3;

Returns
TypeDescription
float

The blue.

getGreen()

public abstract float getGreen()

The amount of green in the color as a value in the interval [0, 1].

float green = 2;

Returns
TypeDescription
float

The green.

getRed()

public abstract float getRed()

The amount of red in the color as a value in the interval [0, 1].

float red = 1;

Returns
TypeDescription
float

The red.