Package sass.embedded_protocol
Interface EmbeddedSass.Value.HslColorOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
EmbeddedSass.Value.HslColor
,EmbeddedSass.Value.HslColor.Builder
- Enclosing class:
- EmbeddedSass.Value
public static interface EmbeddedSass.Value.HslColorOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getAlpha()
The color's alpha channel.double
getHue()
The color's hue.double
getLightness()
The color's percent lightness.double
getSaturation()
The color's percent saturation.-
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.
-
getSaturation
double getSaturation()
The color's percent saturation. Mandatory. Must be between 0 and 100, inclusive.
double saturation = 2;
- Returns:
- The saturation.
-
getLightness
double getLightness()
The color's percent lightness. Mandatory. Must be between 0 and 100, inclusive.
double lightness = 3;
- Returns:
- The lightness.
-
getAlpha
double getAlpha()
The color's alpha channel. Mandatory. Must be between 0 and 1, inclusive.
double alpha = 4;
- Returns:
- The alpha.
-
-