Class ViewBox
java.lang.Object
org.jfree.svg.ViewBox
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionViewBox(double minX, double minY, double width, double height) Creates a new instance with the specified dimensions. -
Method Summary
Modifier and TypeMethodDescriptionvalueStr(DoubleFunction<String> df) Returns a string containing the view box coordinates and dimensions.
-
Field Details
-
minX
private final double minX -
minY
private final double minY -
width
private final double width -
height
private final double height
-
-
Constructor Details
-
ViewBox
public ViewBox(double minX, double minY, double width, double height) Creates a new instance with the specified dimensions.- Parameters:
minX- the x coordinate.minY- the y coordinate.width- the width.height- the height.
-
-
Method Details
-
valueStr
Returns a string containing the view box coordinates and dimensions.- Parameters:
df- the converter function (nullnot permitted).- Returns:
- A string containing the view box coordinates and dimensions.
-