UL_FRAME

Data members

   
columns int (-127...127)
rows int (-26...26)
border int (FRAME_BORDER_...)
layer int
x1, y1 int (lower left corner)
x2, y2 int (upper right corner)

Loop members

   
texts() UL_TEXT
wires() UL_WIRE

See also UL_BOARD, UL_FOOTPRINT, UL_SHEET, UL_SYMBOL

Constants

   
FRAME_BORDER_BOTTOM bottom border is drawn
FRAME_BORDER_RIGHT right border is drawn
FRAME_BORDER_TOP top border is drawn
FRAME_BORDER_LEFT left border is drawn

Notes

border contains a bitwise or'ed value consisting of FRAME_BORDER_... and defines which of the four borders are actually drawn.

The texts() and wires() loop members loop through all the texts and wires the frame consists of.

Example

board(B) {
  B.frames(F) {
    printf("Frame: (%f %f), (%f %f)\n",
           u2mm(F.x1), u2mm(F.y1), u2mm(F.x2), u2mm(F.y2));
    }
  }