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.

 

shape::layer(int16_t lyr)

Set the layer number of this shape.

 

int16_t shape::layer()

Get the layer number of this shape.

 

shape::setNet(net *n)

Set the net associated with this shape.

 

net * shape::getNet()

Get the net associated with this shape.

 

const char * shape::getNetName()

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

 

 

Contents|Index

Copyright © Peardrop Design 2024.