java.lang.Object
org.jfree.svg.ViewBox

public class ViewBoxextends Object
Represents a view box in SVG.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int
    Height of the viewBox.
    private final int
    Left edge of the viewBox.
    private final int
    Top edge of the viewBox.
    private final int
    Width of the viewBox.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ViewBox(int minX, int minY, int width, int height)
    Creates a new instance with the specified dimensions.
  • Method Summary

    All Methods
    Modifier and Type
    Method
    Description
    Returns a string containing the view box coordinates and dimensions.

    Methods inherited from class Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • minX

      private final int minX
      Left edge of the viewBox.
    • minY

      private final int minY
      Top edge of the viewBox.
    • width

      private final int width
      Width of the viewBox.
    • height

      private final int height
      Height of the viewBox.
  • Constructor Details

    • ViewBox

      public ViewBox(int minX, int minY, int width, int height)
      Creates a new instance with the specified dimensions.
      Parameters:
      minX - the x coordinate.
      minY - the y coordinate.
      width - the width of the viewBox
      height - the height of the viewBox
  • Method Details

    • valueStr

      public String valueStr()
      Returns a string containing the view box coordinates and dimensions.
      Returns:
      A string containing the view box coordinates and dimensions.