Package com.github.weisj.jsvg.renderer
Class ShapeRenderer
- java.lang.Object
-
- com.github.weisj.jsvg.renderer.ShapeRenderer
-
public final class ShapeRenderer extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShapeRenderer.PaintShape
private static class
ShapeRenderer.PaintWithOpacity
static class
ShapeRenderer.ShapeMarkerInfo
static class
ShapeRenderer.ShapePaintContext
-
Field Summary
Fields Modifier and Type Field Description private static boolean
DEBUG_MARKERS
-
Constructor Summary
Constructors Modifier Constructor Description private
ShapeRenderer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static void
paintDebugMarker(@NotNull RenderContext context, @NotNull java.awt.Graphics2D g, @NotNull Marker marker, float rotation)
static void
paintSingleMarker(@NotNull ShapeNode shapeNode, @NotNull RenderContext context, @NotNull Output output, MarkerOrientation.MarkerType type, @Nullable Marker marker, float x, float y, float dxIn, float dyIn, float dxOut, float dyOut)
private static void
renderMarkers(@NotNull Output output, @NotNull RenderContext context, @NotNull ShapeRenderer.PaintShape paintShape, @NotNull ShapeRenderer.ShapeMarkerInfo markerInfo)
private static void
renderMarkersImpl(@NotNull Output output, @NotNull RenderContext context, @NotNull java.awt.geom.PathIterator iterator, @NotNull ShapeRenderer.ShapeMarkerInfo markerInfo)
private static void
renderShapeFill(@NotNull RenderContext context, @NotNull Output output, @NotNull ShapeRenderer.PaintShape paintShape)
private static void
renderShapeStroke(@NotNull RenderContext context, @NotNull Output output, @NotNull ShapeRenderer.PaintShape paintShape, @Nullable java.awt.Stroke stroke, boolean willBeFilledAfterwards)
static void
renderWithPaintOrder(@NotNull Output output, boolean canBeFilledHint, @NotNull PaintOrder paintOrder, @NotNull ShapeRenderer.ShapePaintContext shapePaintContext, @NotNull ShapeRenderer.PaintShape paintShape, @Nullable ShapeRenderer.ShapeMarkerInfo markerInfo)
-
-
-
Field Detail
-
DEBUG_MARKERS
private static final boolean DEBUG_MARKERS
- See Also:
- Constant Field Values
-
-
Method Detail
-
renderWithPaintOrder
public static void renderWithPaintOrder(@NotNull @NotNull Output output, boolean canBeFilledHint, @NotNull @NotNull PaintOrder paintOrder, @NotNull @NotNull ShapeRenderer.ShapePaintContext shapePaintContext, @NotNull @NotNull ShapeRenderer.PaintShape paintShape, @Nullable @Nullable ShapeRenderer.ShapeMarkerInfo markerInfo)
-
renderMarkers
private static void renderMarkers(@NotNull @NotNull Output output, @NotNull @NotNull RenderContext context, @NotNull @NotNull ShapeRenderer.PaintShape paintShape, @NotNull @NotNull ShapeRenderer.ShapeMarkerInfo markerInfo)
-
renderShapeStroke
private static void renderShapeStroke(@NotNull @NotNull RenderContext context, @NotNull @NotNull Output output, @NotNull @NotNull ShapeRenderer.PaintShape paintShape, @Nullable @Nullable java.awt.Stroke stroke, boolean willBeFilledAfterwards)
-
renderShapeFill
private static void renderShapeFill(@NotNull @NotNull RenderContext context, @NotNull @NotNull Output output, @NotNull @NotNull ShapeRenderer.PaintShape paintShape)
-
renderMarkersImpl
private static void renderMarkersImpl(@NotNull @NotNull Output output, @NotNull @NotNull RenderContext context, @NotNull @NotNull java.awt.geom.PathIterator iterator, @NotNull @NotNull ShapeRenderer.ShapeMarkerInfo markerInfo)
-
paintSingleMarker
public static void paintSingleMarker(@NotNull @NotNull ShapeNode shapeNode, @NotNull @NotNull RenderContext context, @NotNull @NotNull Output output, @Nullable MarkerOrientation.MarkerType type, @Nullable @Nullable Marker marker, float x, float y, float dxIn, float dyIn, float dxOut, float dyOut)
-
paintDebugMarker
private static void paintDebugMarker(@NotNull @NotNull RenderContext context, @NotNull @NotNull java.awt.Graphics2D g, @NotNull @NotNull Marker marker, float rotation)
-
-