Class AwtSVGPaint
- java.lang.Object
-
- com.github.weisj.jsvg.attributes.paint.AwtSVGPaint
-
- All Implemented Interfaces:
SimplePaintSVGPaint
,SVGPaint
public final class AwtSVGPaint extends java.lang.Object implements SimplePaintSVGPaint
-
-
Field Summary
Fields Modifier and Type Field Description private @NotNull java.awt.Paint
paint
-
Fields inherited from interface com.github.weisj.jsvg.attributes.paint.SVGPaint
CONTEXT_FILL, CONTEXT_STROKE, CURRENT_COLOR, DEFAULT_PAINT, NONE
-
-
Constructor Summary
Constructors Constructor Description AwtSVGPaint(@NotNull java.awt.Paint paint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
private @NotNull java.lang.String
formatPaint()
int
hashCode()
@NotNull java.awt.Paint
paint()
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.github.weisj.jsvg.attributes.paint.SimplePaintSVGPaint
drawShape, fillShape
-
-
-
-
Method Detail
-
paint
@NotNull public @NotNull java.awt.Paint paint()
- Specified by:
paint
in interfaceSimplePaintSVGPaint
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
formatPaint
@NotNull private @NotNull java.lang.String formatPaint()
-
-