Package com.github.weisj.jsvg.util
Class BlittableImage
java.lang.Object
com.github.weisj.jsvg.util.BlittableImage
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidblitTo(@NotNull Output output, @NotNull RenderContext parentContext) @NotNull Rectangle2Dstatic @NotNull BlittableImagecreate(@NotNull BlittableImage.BufferSurfaceSupplier bufferSurfaceSupplier, @NotNull RenderContext context, @Nullable Rectangle2D clipBounds, @NotNull Rectangle2D bounds, @NotNull Rectangle2D objectBounds, @NotNull UnitType contentUnits) @NotNull Graphics2D@NotNull BufferedImageimage()voidprepareForBlitting(@NotNull Output output, @NotNull RenderContext parentContext) voidrender(@NotNull Output output, @NotNull Consumer<Graphics2D> painter) voidrenderNode(@NotNull Output parentOutput, @NotNull SVGNode node, @NotNull Instantiator instantiator)
-
Method Details
-
create
@NotNull public static @NotNull BlittableImage create(@NotNull @NotNull BlittableImage.BufferSurfaceSupplier bufferSurfaceSupplier, @NotNull @NotNull RenderContext context, @Nullable @Nullable Rectangle2D clipBounds, @NotNull @NotNull Rectangle2D bounds, @NotNull @NotNull Rectangle2D objectBounds, @NotNull @NotNull UnitType contentUnits) -
boundsInUserSpace
-
image
-
createGraphics
-
renderNode
public void renderNode(@NotNull @NotNull Output parentOutput, @NotNull @NotNull SVGNode node, @NotNull @NotNull Instantiator instantiator) -
render
-
prepareForBlitting
public void prepareForBlitting(@NotNull @NotNull Output output, @NotNull @NotNull RenderContext parentContext) -
blitTo
-