java.lang.Object
org.jfree.svg.ViewBox
Represents a view box in SVG.
Field Summary
Constructor Summary
ConstructorsConstructorDescriptionViewBox(int minX, int minY, int width, int height) Creates a new instance with the specified dimensions.Method Summary
All Methods
Field Details
minX
private final int minXLeft edge of the viewBox.minY
private final int minYTop edge of the viewBox.width
private final int widthWidth of the viewBox.height
private final int heightHeight 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 viewBoxheight- the height of the viewBox
Method Details
valueStr
Returns a string containing the view box coordinates and dimensions.- Returns:
- A string containing the view box coordinates and dimensions.