Class ElementBounds
java.lang.Object
com.github.weisj.jsvg.renderer.impl.ElementBounds
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Rectangle2Dprivate final RenderContextprivate Rectangle2Dprivate final @NotNull SVGNodeprivate Rectangle2D -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Rectangle2Dprivate static @NotNull Rectangle2DelementBounds(@NotNull SVGNode node, @NotNull RenderContext context, HasShape.Box box) @NotNull Rectangle2DfillBox()private @NotNull Rectangle2DfilterBounds(@NotNull HasFilter node, @NotNull RenderContext context, @NotNull Rectangle2D elementBounds) static @NotNull ElementBoundsfromUntransformedBounds(@NotNull SVGNode node, @NotNull RenderContext context, @NotNull Rectangle2D bounds, HasShape.Box box) @NotNull Rectangle2D@NotNull Rectangle2D
-
Field Details
-
node
-
context
-
boundingBox
-
strokeBox
-
geometryBox
-
-
Constructor Details
-
ElementBounds
-
-
Method Details
-
fromUntransformedBounds
@NotNull public static @NotNull ElementBounds fromUntransformedBounds(@NotNull @NotNull SVGNode node, @NotNull @NotNull RenderContext context, @NotNull @NotNull Rectangle2D bounds, HasShape.Box box) -
boundingBox
-
geometryBox
-
strokeBox
-
fillBox
-
elementBounds
@NotNull private static @NotNull Rectangle2D elementBounds(@NotNull @NotNull SVGNode node, @NotNull @NotNull RenderContext context, HasShape.Box box) -
filterBounds
@NotNull private @NotNull Rectangle2D filterBounds(@NotNull @NotNull HasFilter node, @NotNull @NotNull RenderContext context, @NotNull @NotNull Rectangle2D elementBounds)
-