Class GraphicsUtil
java.lang.Object
com.github.weisj.jsvg.renderer.output.impl.GraphicsUtil
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull Graphics2DcreateGraphics(@NotNull BufferedImage image) static @NotNull CompositederiveComposite(@NotNull Graphics2D g, float opacity) static voidsafelyDrawImage(@NotNull Output output, @NotNull Graphics2D g, @NotNull Image image, @Nullable ImageObserver observer)
-
Method Details
-
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)
-