public class BoundsBuilder extends AbstractShapeBuilder
AbstractShapeBuilder.Shrinkage
doubleCoords, intCoords, pointCount
Constructor and Description |
---|
BoundsBuilder(Cell cell) |
BoundsBuilder(CellBackup cellBackup) |
Modifier and Type | Method and Description |
---|---|
void |
addDoublePoly(int numPoints,
Poly.Type style,
Layer layer,
EGraphics graphicsOverride,
PrimitivePort pp) |
void |
addIntBox(int[] coords,
Layer layer) |
void |
addIntPoly(int numPoints,
Poly.Type style,
Layer layer,
EGraphics graphicsOverride,
PrimitivePort pp) |
void |
clear() |
boolean |
genBoundsEasy(ImmutableArcInst a,
int[] intCoords)
Generate bounds of this ImmutableArcInst in easy case.
|
ERectangle |
makeBounds() |
boolean |
makeBounds(java.awt.geom.Rectangle2D.Double visBounds) |
addDoubleTextPoly, computeExtension, curvedArcGridOutline, genShapeEasy, genShapeOfArc, genShapeOfNode, genShapeOfNode, getCellBackup, getMemoization, getShrinkage, getTechPool, isElectrical, isReasonable, makeGridPoly, pushIntBox, pushIntLine, pushPoint, pushPoint, pushPoint, pushPoly, pushTextPoly, setup, setup, skipLayer
public BoundsBuilder(Cell cell)
public BoundsBuilder(CellBackup cellBackup)
public void clear()
public boolean genBoundsEasy(ImmutableArcInst a, int[] intCoords)
a
- ImmutableArcInst to examine.intCoords
- integer coords to fill.public ERectangle makeBounds()
public boolean makeBounds(java.awt.geom.Rectangle2D.Double visBounds)
public void addDoublePoly(int numPoints, Poly.Type style, Layer layer, EGraphics graphicsOverride, PrimitivePort pp)
addDoublePoly
in class AbstractShapeBuilder
public void addIntPoly(int numPoints, Poly.Type style, Layer layer, EGraphics graphicsOverride, PrimitivePort pp)
addIntPoly
in class AbstractShapeBuilder
public void addIntBox(int[] coords, Layer layer)
addIntBox
in class AbstractShapeBuilder