Class ElementBounds


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

      • node

        private final java.lang.Object node
      • boundingBox

        private java.awt.geom.Rectangle2D boundingBox
      • strokeBox

        private java.awt.geom.Rectangle2D strokeBox
      • geometryBox

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

      • ElementBounds

        public ElementBounds​(java.lang.Object node,
                             RenderContext context)
    • Method Detail

      • 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()
      • elementBounds

        @NotNull
        private static @NotNull java.awt.geom.Rectangle2D elementBounds​(@NotNull
                                                                        @NotNull java.lang.Object 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)