Glade Reference
A vertex is a point. It is derived from a dbObj so it can be selectable; it also refers to a dbObj. Vertices are used when selecting a vertex of e.g. a rectangle or polygon.
Creates a vertex with coordinate p.
Creates a vertex with the specified xy coordinates.
Returns the objects type - VERTEX.
Returns the print name i.e. "VERTEX"
Returns true if one vertex is equal to another by coordinates.
Returns true if one vertex is not equal to another by coordinates.
Sets the dbObj associated with this vertex.
Gets the dbObj associated with this vertex.
Returns a fake bounding box 10 dbu larger than the vertex itself.
Transforms this vertex according to trans.
Moves this vertex by delta. If opt is true then the database is re-optimised for the new vertex 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.
Copies the vertex. cv is the cellView containing the vertex, delta is the XY coordinate to move the vertex by during the copy.
The x coordinate of the vertex.
The y coordinate of the vertex.
Set the X coordinate of the vertex.
Set the Y coordinate of the vertex.
Copyright © Peardrop Design 2024.