All Implemented Interfaces:
Shape, Serializable, Cloneable

public final class ViewBox extends Rectangle2D.Float
See Also:
  • Constructor Details

    • ViewBox

      public ViewBox(float[] viewBox)
    • ViewBox

      public ViewBox(float x, float y, float w, float h)
    • ViewBox

      public ViewBox(float w, float h)
    • ViewBox

      public ViewBox(FloatSize size)
    • ViewBox

      public ViewBox(@NotNull @NotNull Rectangle2D bounds)
  • Method Details

    • setSize

      public void setSize(@NotNull @NotNull FloatSize size)
    • size

      @NotNull public @NotNull FloatSize size()
    • location

      @NotNull public Point2D.Float location()
    • hasSpecifiedX

      public boolean hasSpecifiedX()
    • hasSpecifiedY

      public boolean hasSpecifiedY()
    • hasSpecifiedWidth

      public boolean hasSpecifiedWidth()
    • hasSpecifiedHeight

      public boolean hasSpecifiedHeight()
    • toString

      public String toString()
      Overrides:
      toString in class Rectangle2D.Float
    • normedDiagonalLength

      public float normedDiagonalLength()