Class GraphicsUtil
java.lang.Object
com.github.weisj.jsvg.renderer.output.impl.GraphicsUtil
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static voidcleanupPaint(@NotNull Output output, @NotNull Paint paint) static @NotNull Graphics2DcreateGraphics(@NotNull BufferedImage image) static @NotNull CompositederiveComposite(@NotNull Graphics2D g, float opacity) private static @NotNull PaintexchangePaint(@NotNull Output output, @NotNull Paint current, @NotNull Paint paint, boolean doCleanUp) (package private) static voidpreparePaint(@NotNull Paint paint) static voidsafelyDrawImage(@NotNull Output output, @NotNull Graphics2D g, @NotNull Image image, @Nullable ImageObserver observer) (package private) static voidsafelySetPaint(@NotNull Output output, @NotNull Graphics2D g, @NotNull Paint paint)
-
Field Details
-
LOGGER
-
-
Constructor Details
-
GraphicsUtil
private GraphicsUtil()
-
-
Method Details
-
safelySetPaint
static void safelySetPaint(@NotNull @NotNull Output output, @NotNull @NotNull Graphics2D g, @NotNull @NotNull Paint paint) -
cleanupPaint
-
preparePaint
-
exchangePaint
-
createGraphics
-
deriveComposite
@NotNull public static @NotNull Composite deriveComposite(@NotNull @NotNull Graphics2D g, float opacity) -
safelyDrawImage
public static void safelyDrawImage(@NotNull @NotNull Output output, @NotNull @NotNull Graphics2D g, @NotNull @NotNull Image image, @Nullable @Nullable ImageObserver observer)
-