@OpenApiAll
public class BoundsTransformation
extends java.lang.Object
Rectangle.grow(int, int)
Constructor and Description |
---|
BoundsTransformation()
Constructor with 0 bounds growing factor
|
BoundsTransformation(int grow)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getGrow() |
double |
grow(double vector)
Grow length of given vector
|
int |
grow(int vector)
Grow length of given vector
|
java.awt.Rectangle |
grow(java.awt.Rectangle r)
Grow give rectangle
|
java.awt.geom.RoundRectangle2D.Double |
grow(java.awt.geom.RoundRectangle2D.Double r)
Grow give rectangle
|
public BoundsTransformation()
public BoundsTransformation(int grow)
grow
- bounds growing factorpublic int getGrow()
public java.awt.Rectangle grow(java.awt.Rectangle r)
r
- rectanglepublic java.awt.geom.RoundRectangle2D.Double grow(java.awt.geom.RoundRectangle2D.Double r)
r
- rectanglepublic int grow(int vector)
vector
- vectorpublic double grow(double vector)
vector
- vector