Class ColorParser

    • Method Detail

      • parseTtmlColor

        @ColorInt
        public static int parseTtmlColor​(String colorExpression)
        Deprecated.
        Parses a TTML color expression.
        Parameters:
        colorExpression - The color expression.
        Returns:
        The parsed ARGB color.
      • parseCssColor

        @ColorInt
        public static int parseCssColor​(String colorExpression)
        Deprecated.
        Parses a CSS color expression.
        Parameters:
        colorExpression - The color expression.
        Returns:
        The parsed ARGB color.