public interface LayoutCell
Modifier and Type | Interface and Description |
---|---|
static interface |
LayoutCell.RectangleHandler |
static interface |
LayoutCell.SubcellHandler |
Modifier and Type | Field and Description |
---|---|
static int |
MAX_COORD
The limit of coordinates.
|
Modifier and Type | Method and Description |
---|---|
int |
getBoundingMaxX() |
int |
getBoundingMaxY() |
int |
getBoundingMinX() |
int |
getBoundingMinY() |
java.lang.String |
getName() |
int |
getNumRectangles() |
int |
getNumSubcells() |
void |
readRectangleCoords(int[] result,
int offset,
int count)
Read coordinates of part of rectangles into int array.
|
void |
traverseRectangles(LayoutCell.RectangleHandler h)
Traverse all rectangles by specified handler
|
void |
traverseRectangles(LayoutCell.RectangleHandler h,
int offset,
int count)
Traverse part of rectangles by specified handler
|
void |
traverseSubcellInstances(LayoutCell.SubcellHandler h)
Traverse all subcell instances by specified handler
|
void |
traverseSubcellInstances(LayoutCell.SubcellHandler h,
int offset,
int count)
Traverse part of subcell instances by specified handler
|
static final int MAX_COORD
java.lang.String getName()
int getNumRectangles()
void traverseRectangles(LayoutCell.RectangleHandler h)
h
- handlervoid traverseRectangles(LayoutCell.RectangleHandler h, int offset, int count)
h
- handleroffset
- the first rectanglecount
- the number of rectanglesvoid readRectangleCoords(int[] result, int offset, int count)
result
- offset
- The first rectanglecount
- The number of rectanglesint getNumSubcells()
void traverseSubcellInstances(LayoutCell.SubcellHandler h)
h
- handlervoid traverseSubcellInstances(LayoutCell.SubcellHandler h, int offset, int count)
h
- handleroffset
- the first subcell instancecount
- the number of subcell instancesint getBoundingMinX()
int getBoundingMinY()
int getBoundingMaxX()
int getBoundingMaxY()