Package com.github.weisj.jsvg.parser
Class AttributeNode
java.lang.Object
com.github.weisj.jsvg.parser.AttributeNode
-
Constructor Summary
ConstructorsConstructorDescriptionAttributeNode(@NotNull String tagName, @NotNull Map<String, String> attributes, @Nullable AttributeNode parent, @NotNull ParsedDocument document, @NotNull List<@NotNull StyleSheet> styleSheets, @NotNull LoadHelper loadHelper) -
Method Summary
Modifier and TypeMethodDescription@NotNull AttributeNodecopy()@Nullable ClipPath@NotNull Color@Nullable Colordouble[]getDoubleList(@NotNull String key) <T> TgetElementByHref(@NotNull Class<T> type, @NotNull Category category, @Nullable String value) <T> TgetElementByHref(@NotNull Class<T> type, @Nullable String value) <E extends Enum<E>>
E<E extends Enum<E>>
EgetEnumNullable(@NotNull String key, @NotNull Class<E> enumType) @Nullable Filter@NotNull FilterChannelKeygetFilterChannelKey(@NotNull String key, @NotNull FilterChannelKey fallback) floatfloat[]getFloatList(@NotNull String key) @NotNull LengthgetHorizontalReferenceLength(@NotNull String key) @Nullable StringgetHref()int@Nullable Length@NotNull Length@NotNull Length@NotNull Length @NotNull []getLengthList(@NotNull String key) @NotNull Length[]getLengthList(@NotNull String key, Length[] fallback) @Nullable MaskgetMask()floatgetNonNegativeFloat(@NotNull String name, float fallback) @Nullable SVGPaint@NotNull SVGPaintfloatgetPercentage(@NotNull String key, float fallback) @NotNull String[]getStringList(@NotNull String name) @NotNull String[]getStringList(@NotNull String name, SeparatorMode separatorMode) @Nullable String@NotNull LengthgetVerticalReferenceLength(@NotNull String key) @Nullable ViewBoxbooleanhasAttribute(@NotNull String name) @Nullable AttributeNodeparent()@NotNull AttributeParserparser()@Nullable AffineTransformparseTransform(@NotNull String key) @NotNull ResourceLoaderbooleantagIsOneOf(@NotNull String... tags) @NotNull StringtagName()
-
Constructor Details
-
AttributeNode
public AttributeNode(@NotNull @NotNull String tagName, @NotNull @NotNull Map<String, String> attributes, @Nullable @Nullable AttributeNode parent, @NotNull @NotNull ParsedDocument document, @NotNull @NotNull List<@NotNull StyleSheet> styleSheets, @NotNull @NotNull LoadHelper loadHelper)
-
-
Method Details
-
copy
-
getElementByHref
-
getElementByHref
-
attributes
-
tagName
-
tagIsOneOf
-
parent
-
getValue
-
getColor
-
getColor
-
getPaint
-
getPaint
-
getLength
-
getLength
-
getLength
-
getHorizontalReferenceLength
-
getVerticalReferenceLength
-
getPercentage
-
getLengthList
-
getLengthList
-
getFloatList
-
getDoubleList
-
getEnum
-
getEnumNullable
-
getClipPath
-
getMask
-
getFilter
-
getFilterChannelKey
@NotNull public @NotNull FilterChannelKey getFilterChannelKey(@NotNull @NotNull String key, @NotNull @NotNull FilterChannelKey fallback) -
parseTransform
-
hasAttribute
-
getStringList
-
getStringList
@NotNull public @NotNull String[] getStringList(@NotNull @NotNull String name, SeparatorMode separatorMode) -
getFloat
-
getNonNegativeFloat
-
getInt
-
getHref
-
getViewBox
-
parser
-
resourceLoader
-