Package com.github.weisj.jsvg.renderer
Class NodeRenderer
- java.lang.Object
-
- com.github.weisj.jsvg.renderer.NodeRenderer
-
public final class NodeRenderer extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NodeRenderer.Info
private static class
NodeRenderer.InfoWithFilter
-
Field Summary
Fields Modifier and Type Field Description private static boolean
CLIP_DEBUG
-
Constructor Summary
Constructors Modifier Constructor Description private
NodeRenderer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NotNull RenderContext
createChildContext(@NotNull SVGNode node, @NotNull RenderContext context, @Nullable Instantiator instantiator)
static @Nullable NodeRenderer.Info
createRenderInfo(@NotNull SVGNode node, @NotNull RenderContext context, @NotNull java.awt.Graphics2D g, @Nullable Instantiator instantiator)
private static @NotNull java.awt.geom.Rectangle2D
elementBounds(@NotNull java.lang.Object node, @NotNull RenderContext childContext)
static void
renderNode(@NotNull SVGNode node, @NotNull RenderContext context, @NotNull java.awt.Graphics2D g)
static @NotNull RenderContext
setupInnerViewRenderContext(@NotNull ViewBox viewBox, @NotNull RenderContext context, boolean inheritAttributes)
static @NotNull RenderContext
setupRenderContext(@NotNull java.lang.Object node, @NotNull RenderContext context)
private static @NotNull RenderContext
setupRenderContext(@Nullable Instantiator instantiator, @NotNull java.lang.Object node, @NotNull RenderContext context)
-
-
-
Field Detail
-
CLIP_DEBUG
private static final boolean CLIP_DEBUG
- See Also:
- Constant Field Values
-
-
Method Detail
-
renderNode
public static void renderNode(@NotNull @NotNull SVGNode node, @NotNull @NotNull RenderContext context, @NotNull @NotNull java.awt.Graphics2D g)
-
createChildContext
@NotNull public static @NotNull RenderContext createChildContext(@NotNull @NotNull SVGNode node, @NotNull @NotNull RenderContext context, @Nullable @Nullable Instantiator instantiator)
-
createRenderInfo
@Nullable public static @Nullable NodeRenderer.Info createRenderInfo(@NotNull @NotNull SVGNode node, @NotNull @NotNull RenderContext context, @NotNull @NotNull java.awt.Graphics2D g, @Nullable @Nullable Instantiator instantiator)
-
elementBounds
@NotNull private static @NotNull java.awt.geom.Rectangle2D elementBounds(@NotNull @NotNull java.lang.Object node, @NotNull @NotNull RenderContext childContext)
-
setupRenderContext
@NotNull public static @NotNull RenderContext setupRenderContext(@NotNull @NotNull java.lang.Object node, @NotNull @NotNull RenderContext context)
-
setupRenderContext
@NotNull private static @NotNull RenderContext setupRenderContext(@Nullable @Nullable Instantiator instantiator, @NotNull @NotNull java.lang.Object node, @NotNull @NotNull RenderContext context)
-
setupInnerViewRenderContext
@NotNull public static @NotNull RenderContext setupInnerViewRenderContext(@NotNull @NotNull ViewBox viewBox, @NotNull @NotNull RenderContext context, boolean inheritAttributes)
-
-