Package sass.embedded_protocol
Interface EmbeddedSass.Value.HwbColorOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder,MessageOrBuilder
- All Known Implementing Classes:
EmbeddedSass.Value.HwbColor,EmbeddedSass.Value.HwbColor.Builder
- Enclosing class:
- EmbeddedSass.Value
public static interface EmbeddedSass.Value.HwbColorOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetAlpha()The color's alpha channel.doublegetBlackness()The color's percent blackness.doublegetHue()The color's hue.doublegetWhiteness()The color's percent whiteness.-
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
-
getHue
double getHue()
The color's hue. Mandatory.
double hue = 1;- Returns:
- The hue.
-
getWhiteness
double getWhiteness()
The color's percent whiteness. Mandatory. Must be between 0 and 100, inclusive. The sum of `whiteness` and `blackness` must not exceed 100.
double whiteness = 2;- Returns:
- The whiteness.
-
getBlackness
double getBlackness()
The color's percent blackness. Mandatory. Must be between 0 and 100, inclusive. The sum of `whiteness` and `blackness` must not exceed 100.
double blackness = 3;- Returns:
- The blackness.
-
getAlpha
double getAlpha()
The color's alpha channel. Mandatory. Must be between 0 and 1, inclusive.
double alpha = 4;- Returns:
- The alpha.
-
-