Package sass.embedded_protocol
Interface EmbeddedSass.Value.RgbColorOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
EmbeddedSass.Value.RgbColor
,EmbeddedSass.Value.RgbColor.Builder
- Enclosing class:
- EmbeddedSass.Value
public static interface EmbeddedSass.Value.RgbColorOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getAlpha()
The color's alpha channel.int
getBlue()
The color's blue channel.int
getGreen()
The color's green channel.int
getRed()
The color's red channel.-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getRed
int getRed()
The color's red channel. Mandatory. May not be above 255.
uint32 red = 1;
- Returns:
- The red.
-
getGreen
int getGreen()
The color's green channel. Mandatory. May not be above 255.
uint32 green = 2;
- Returns:
- The green.
-
getBlue
int getBlue()
The color's blue channel. Mandatory. May not be above 255.
uint32 blue = 3;
- Returns:
- The blue.
-
getAlpha
double getAlpha()
The color's alpha channel. Mandatory. Must be between 0 and 1, inclusive.
double alpha = 4;
- Returns:
- The alpha.
-
-