Class ElementBounds


  • public class ElementBounds
    extends java.lang.Object
    • Field Detail

      • node

        @NotNull
        private final @NotNull SVGNode node
      • boundingBox

        private java.awt.geom.Rectangle2D boundingBox
      • strokeBox

        private java.awt.geom.Rectangle2D strokeBox
      • geometryBox

        private java.awt.geom.Rectangle2D geometryBox
    • Constructor Detail

    • Method Detail

      • fromUntransformedBounds

        @NotNull
        public static @NotNull ElementBounds fromUntransformedBounds​(@NotNull
                                                                     @NotNull SVGNode node,
                                                                     @NotNull
                                                                     @NotNull RenderContext context,
                                                                     @NotNull
                                                                     @NotNull java.awt.geom.Rectangle2D bounds,
                                                                     HasShape.Box box)
      • boundingBox

        @NotNull
        public @NotNull java.awt.geom.Rectangle2D boundingBox()
      • geometryBox

        @NotNull
        public @NotNull java.awt.geom.Rectangle2D geometryBox()
      • strokeBox

        @NotNull
        public @NotNull java.awt.geom.Rectangle2D strokeBox()
      • fillBox

        @NotNull
        public @NotNull java.awt.geom.Rectangle2D fillBox()
      • elementBounds

        @NotNull
        private static @NotNull java.awt.geom.Rectangle2D elementBounds​(@NotNull
                                                                        @NotNull SVGNode node,
                                                                        @NotNull
                                                                        @NotNull RenderContext context,
                                                                        HasShape.Box box)
      • filterBounds

        @NotNull
        private @NotNull java.awt.geom.Rectangle2D filterBounds​(@NotNull
                                                                @NotNull HasFilter node,
                                                                @NotNull
                                                                @NotNull RenderContext context,
                                                                @NotNull
                                                                @NotNull java.awt.geom.Rectangle2D elementBounds)