Label

Library: Base
Introduced: 2.0 Beta 1
Appearance:

Behavior

This is a simple text label that can be placed anywhere in the circuit. It does not interact with values traveling through the circuit in any way, except inasmuch as it will be visible when the circuit is drawn.

In contrast to all other components in the current built-in libraries, label components can be placed anywhere on the canvas; they do not snap to the grid.

Pins

None.

Attributes

Text
The text appearing in the label. This value can be edited in the attribute table or, using the text tool, on the canvas.
Font
The font to use when drawing the label.
Horizontal Alignment
The horizontal positioning technique for the text relative to the label's official location (where the mouse was clicked in creating the label). "Left" means that the text should be drawn so that its left edge is at the location; "right" means that the text should be drawn so that its right edge is at the location; and "center" means that the text should be drawn so that its center (horizontally) is at the location.
Vertical Alignment

The vertical positioning technique for the text relative to the label's official location (where the mouse was clicked in creating the label). "Base" means that the baseline should intersect the location; "Top" means that the text's top should intersect the location; "Bottom" means that the text's bottom should intersect the location; and "Center" means that the text should be centered (vertically) at the location.

The text's top and bottom is computed based on the font's standard ascent and descent values; thus, even if the actual text contains no tall letters (such as b) or descending letters (such as g), it is assumed to contain such letters for the purposes of vertical positioning.

Poke Tool Behavior

None.

Text Tool Behavior

Allows the text appearing within the label to be edited.

Back to Library Reference