Issie logo Issie

Constants Module

--------- STATIC VARIABLES --------- ///

Functions and values

Function or value Description

arrayLegendFontSizeInPixels

Full Usage: arrayLegendFontSizeInPixels

Returns: float

Font size for the legend of an array component's IO. Smaller and lighter than any other legend, and on one line: these say a name, a channel and a bit range - "Join[3] (15:0)" - where an ordinary legend is a word. Set here rather than at either use because getComponentProperties sizes the symbol with this style and SymbolView draws with it, and a symbol sized against a different font is one the text runs out of.

Returns: float

bitIndicationFontWeight

Full Usage: bitIndicationFontWeight

Returns: string

Text weight for bottom line (bit indication) of legends

Returns: string

busSelectTextSize

Full Usage: busSelectTextSize

Returns: string
Returns: string

componentLabelHeight

Full Usage: componentLabelHeight

Returns: float

Height of label text - used to determine where to print labels

Returns: float

componentLabelOffsetDistance

Full Usage: componentLabelOffsetDistance

Returns: float

Offset between label position and symbol. This is also used as a margin for the label bounding box.

Returns: float

componentLabelStyle

Full Usage: componentLabelStyle

Returns: Text

Most fonts now work perfectly - see playground.fs for some tests - add more as needed. Font style used by all component labels

Returns: Text

componentPortStyle

Full Usage: componentPortStyle

Returns: Text

Most fonts now work perfectly - see playground.fs for some tests - add more as needed. Font style used by all Ports

Returns: Text

customComponentHint

Full Usage: customComponentHint

Returns: string list
Returns: string list

customLegendFontSizeInPixels

Full Usage: customLegendFontSizeInPixels

Returns: float

Font size for legends (names) in custom components

Returns: float

customPortSpacing

Full Usage: customPortSpacing

Returns: float
Returns: float

gatePortPosEdgeGap

Full Usage: gatePortPosEdgeGap

Returns: float
Returns: float

gridSize

Full Usage: gridSize

Returns: int
Returns: int

labelCorrection

Full Usage: labelCorrection

Returns: XYPos

Small manual correction added to claculated position for placing labels. Used to make labels equidistant on all sides of symbol.

Returns: XYPos

labelFontSizeInPixels

Full Usage: labelFontSizeInPixels

Returns: float

Font size for component labels

Returns: float

legendLineSpacingInPixels

Full Usage: legendLineSpacingInPixels

Returns: float
Returns: float

legendVertOffset

Full Usage: legendVertOffset

Returns: float
Returns: float

mergeSplitTextSize

Full Usage: mergeSplitTextSize

Returns: string
Returns: string

otherLegendFontSizeInPixels

Full Usage: otherLegendFontSizeInPixels

Returns: float

Font size for legends on otehr components

Returns: float

portFontSizeInPixels

Full Usage: portFontSizeInPixels

Returns: float

Font size for ports

Returns: float

portPosEdgeGap

Full Usage: portPosEdgeGap

Returns: float
Returns: float

testShowLabelBoundingBoxes

Full Usage: testShowLabelBoundingBoxes

Returns: bool
Returns: bool

thinComponentLabelOffsetDistance

Full Usage: thinComponentLabelOffsetDistance

Returns: float

Offset between label poistion and symbol for "thin" components. Wire labels etc.

Returns: float

Type something to start searching.