Class MinMax
- java.lang.Object
-
- net.sourceforge.plantuml.ugraphic.MinMax
-
public class MinMax extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MinMax
addMinMax(MinMax other)
MinMax
addPoint(double x, double y)
MinMax
addPoint(Point2D pt)
boolean
doesHorizontalCross(Point2D.Double pt1, Point2D.Double pt2)
void
draw(UGraphic ug, HColor color)
void
drawGray(UGraphic ug)
static MinMax
fromDim(Dimension2D dim)
static MinMax
fromMax(double maxX, double maxY)
static MinMax
fromMutable(MinMaxMutable minmax)
Dimension2D
getDimension()
static MinMax
getEmpty(boolean initToZero)
double
getHeight()
double
getMaxX()
double
getMaxY()
double
getMinX()
double
getMinY()
double
getWidth()
String
toString()
MinMax
translate(UTranslate translate)
-
-
-
Method Detail
-
doesHorizontalCross
public boolean doesHorizontalCross(Point2D.Double pt1, Point2D.Double pt2)
-
getEmpty
public static MinMax getEmpty(boolean initToZero)
-
fromMutable
public static MinMax fromMutable(MinMaxMutable minmax)
-
addPoint
public MinMax addPoint(double x, double y)
-
fromMax
public static MinMax fromMax(double maxX, double maxY)
-
fromDim
public static MinMax fromDim(Dimension2D dim)
-
getMaxX
public final double getMaxX()
-
getMaxY
public final double getMaxY()
-
getMinX
public final double getMinX()
-
getMinY
public final double getMinY()
-
getHeight
public double getHeight()
-
getWidth
public double getWidth()
-
getDimension
public Dimension2D getDimension()
-
drawGray
public void drawGray(UGraphic ug)
-
translate
public MinMax translate(UTranslate translate)
-
-