Class DefaultPaintParser
java.lang.Object
com.github.weisj.jsvg.attributes.paint.DefaultPaintParser
- All Implemented Interfaces:
PaintParser
-
Field Summary
Fields inherited from interface com.github.weisj.jsvg.attributes.paint.PaintParser
DEFAULT_COLOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable ColorparseColor(@NotNull String value, @NotNull AttributeNode node) @Nullable SVGPaintparsePaint(@Nullable String value, @NotNull AttributeNode node)
-
Constructor Details
-
DefaultPaintParser
public DefaultPaintParser()
-
-
Method Details
-
parseColor
@Nullable public @Nullable Color parseColor(@NotNull @NotNull String value, @NotNull @NotNull AttributeNode node) - Specified by:
parseColorin interfacePaintParser
-
parsePaint
@Nullable public @Nullable SVGPaint parsePaint(@Nullable @Nullable String value, @NotNull @NotNull AttributeNode node) - Specified by:
parsePaintin interfacePaintParser
-