Package com.github.weisj.jsvg.renderer
Class PaintContext
java.lang.Object
com.github.weisj.jsvg.renderer.PaintContext
- All Implemented Interfaces:
Mutator<PaintContext>
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @Nullable AwtSVGPaintfinal floatfinal @Nullable SVGPaintfinal floatfinal @Nullable PaintOrderfinal @Nullable StrokeContextfinal floatfinal @Nullable SVGPaint -
Constructor Summary
ConstructorsConstructorDescriptionPaintContext(@Nullable AwtSVGPaint color, @Nullable SVGPaint fillPaint, float fillOpacity, @Nullable SVGPaint strokePaint, float strokeOpacity, float opacity, @Nullable PaintOrder paintOrder, @Nullable StrokeContext strokeContext) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull PaintContext@NotNull PaintContextderive(@NotNull PaintContext context) @NotNull PaintContextmutate(@NotNull PaintContext element) static @NotNull PaintContextparse(@NotNull AttributeNode attributeNode) toString()
-
Field Details
-
color
-
fillPaint
-
strokePaint
-
opacity
public final float opacity -
fillOpacity
public final float fillOpacity -
strokeOpacity
public final float strokeOpacity -
paintOrder
-
strokeContext
-
-
Constructor Details
-
PaintContext
public PaintContext(@Nullable @Nullable AwtSVGPaint color, @Nullable @Nullable SVGPaint fillPaint, float fillOpacity, @Nullable @Nullable SVGPaint strokePaint, float strokeOpacity, float opacity, @Nullable @Nullable PaintOrder paintOrder, @Nullable @Nullable StrokeContext strokeContext)
-
-
Method Details
-
createDefault
-
parse
-
derive
-
mutate
- Specified by:
mutatein interfaceMutator<PaintContext>
-
toString
-