Interface EmbeddedSass.Value.NumberOrBuilder

    • Method Detail

      • getValue

        double getValue()
         The number's numeric value. Mandatory.
         
        double value = 1;
        Returns:
        The value.
      • getNumeratorsList

        List<String> getNumeratorsList()
         The number's numerator units.
         The endpoint sending the number must ensure that no numerator units are
         [compatible][] with any denominator units. Such compatible units must be
         simplified away according to the multiplicative factor between them
         defined in the CSS Values and Units spec.
         [compatible]: https://www.w3.org/TR/css-values-4/#compat
         
        repeated string numerators = 2;
        Returns:
        A list containing the numerators.
      • getNumeratorsCount

        int getNumeratorsCount()
         The number's numerator units.
         The endpoint sending the number must ensure that no numerator units are
         [compatible][] with any denominator units. Such compatible units must be
         simplified away according to the multiplicative factor between them
         defined in the CSS Values and Units spec.
         [compatible]: https://www.w3.org/TR/css-values-4/#compat
         
        repeated string numerators = 2;
        Returns:
        The count of numerators.
      • getNumerators

        String getNumerators​(int index)
         The number's numerator units.
         The endpoint sending the number must ensure that no numerator units are
         [compatible][] with any denominator units. Such compatible units must be
         simplified away according to the multiplicative factor between them
         defined in the CSS Values and Units spec.
         [compatible]: https://www.w3.org/TR/css-values-4/#compat
         
        repeated string numerators = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The numerators at the given index.
      • getNumeratorsBytes

        ByteString getNumeratorsBytes​(int index)
         The number's numerator units.
         The endpoint sending the number must ensure that no numerator units are
         [compatible][] with any denominator units. Such compatible units must be
         simplified away according to the multiplicative factor between them
         defined in the CSS Values and Units spec.
         [compatible]: https://www.w3.org/TR/css-values-4/#compat
         
        repeated string numerators = 2;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the numerators at the given index.
      • getDenominatorsList

        List<String> getDenominatorsList()
         The number's denominator units.
         
        repeated string denominators = 3;
        Returns:
        A list containing the denominators.
      • getDenominatorsCount

        int getDenominatorsCount()
         The number's denominator units.
         
        repeated string denominators = 3;
        Returns:
        The count of denominators.
      • getDenominators

        String getDenominators​(int index)
         The number's denominator units.
         
        repeated string denominators = 3;
        Parameters:
        index - The index of the element to return.
        Returns:
        The denominators at the given index.
      • getDenominatorsBytes

        ByteString getDenominatorsBytes​(int index)
         The number's denominator units.
         
        repeated string denominators = 3;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the denominators at the given index.