Glade Reference
An ellipse is represented by a centre point and an X and Y radius. If X and Y are equal, you have a circle. An ellipse is normally created by the cellView::dbCreateEllipse() or cellView::dbCreateCircle() function.
Returns the least X value of the ellipse’s bounding box.
Returns the greatest X value of the ellipse’s bounding box.
Returns the lowest Y value of the ellipse’s bounding box.
Returns the highest Y value of the ellipse’s bounding box.
Sets the ellipse’s centre point.
Returns the ellipse’s centre point.
Returns the height of the ellipse.
Returns the width of the ellipse.
Returns the ellipse’s bounding box.
Set the X radius of the ellipse
Set the Y radius of the ellipse.
Returns the X radius of the ellipse.
Returns the Y radius of the ellipse.
Sets the number of edges that the ellipse will be fractured into when converting to a polygon.
Get the number of edges for the ellipse.
Returns the object’s type as ELLIPSE
Returns the object’s name as “ELLIPSE”
Returns the ellipse’s area.
Returns the ellipse’s perimeter.
Returns true if the ellipse’s xRadius or yRadius is offgrid.
Transforms the ellipse by trans.
Move this ellipse by distance delta. If opt is True then the database is re-optimised for the new rectangle position. If there are a lot of objects to move it makes sense to turn this off and instead use the cellView update() function after moving them all.
Copy this ellipse to cellView dest, with offset delta. If layer is non negative the rectangle will be copied to the new layer number.
Flatten this ellipse into cellView dest with transformation trans.
Bias this ellipse by bias, snapping to the grid xgrid and ygrid.
Scale this ellipse by scale, snapping to the grid grid.
Copyright © Peardrop Design 2024.