Glade Reference


shape class

The shape class is derived from a dbObj. Shapes have layer and net information; a shape is not normally used directly but one of its derived classes is instead.

 

db.layer(int l)

Set the layer of this shape.

 

int l = db.layer()

Get the layer of this shape.

 

db.setNet(net n)

Set the net associated with this shape.

 

net n = db.getNet()

Get the net associated with this shape.

 

char * name = db.getNetName()

Get the net name of the net associated with this shape.

 

 

 

Contents|Index

Copyright © Peardrop Design 2020.