Class CSSFilterParser
java.lang.Object
com.codename1.ui.plaf.CSSFilterParser
Runtime parser for CSS filter: / backdrop-filter: chains. Mirrors
the build-time css-compiler's parser. Returns a
invalid reference
Style.FilterChain
holding a blur radius (in pixels) and a 4x5 color matrix that composes the chain's color-style functions (brightness / contrast / grayscale / hue-rotate / invert / opacity / saturate / sepia). The matrix is null when the chain reduces to the identity transform (no color-style functions present, or all of them at their no-op argument).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classParsed filter chain payload. -
Method Summary
-
Method Details
-
parse
Parses a CSS filter chain. Returns null whencssis null, empty, or literallynone. ThrowsIllegalArgumentExceptionwhen a function name or argument is unrecognised.
-