Hidden Block object type.
These are on the schematic and represent a piece of track on the Schematic.
- Parameters
-
_ctcpanel | The CTCPanel megawidget. |
_canvas | The schematic canvas to draw the HiddenBlock on. |
... | Options:
- -x1 The first x coordinate of the object (readonly, default 0).
- -y1 The first y coordinate of the object (readonly, default 0).
- -x2 The second x coordinate of the object (readonly, default 0).
- -y2 The second y coordinate of the object (readonly, default 0).
- -controlpoint The name of the control point this label is part of (readonly, default MainLine).
- -label The label of the HiddenBlock (default "").
- -position The position of the label (readonly, default below).
- -orientation The orientation of the bridge (8-way) (readonly, default 0).
- -flipped Whether the bridge is flipped (readonly, default no).
- -occupiedcommand A command to run to find out if the HiddenBlock is occupied (default {}).
|
- Defined coords terminals:
- E1 First endpoint.
- E2 Second endpoint.
Defined values (states): none. Defined indicators: none.
- Author
- Robert Heller <heller@deepsoft.com>