public class MultipleRectangle2DInt extends Object
| Constructor and Description |
|---|
MultipleRectangle2DInt()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(int x,
int y,
int w,
int h)
Add a rectangle.
|
void |
add(Rectangle2DInt rect)
Add a rectangle.
|
List<Rectangle2DInt> |
getRectangles() |
public void add(Rectangle2DInt rect)
public void add(int x,
int y,
int w,
int h)
public List<Rectangle2DInt> getRectangles()
Copyright © 2017. All rights reserved.