label module#
Labels module for JITX Standard Library
This module provides configurations for reference designator and value labels in symbols
- class LabelConfig(ref_size=1.0, value_size=1.0)[source]#
Bases:
objectConfiguration for reference desigantor and value labels in symbols
- class LabelConfigurable(label_config=None)[source]#
Bases:
objectLabel configuration wrapper, useful for handling defaults
- Parameters:
label_config (LabelConfig | None)
- label_config: LabelConfig | None = None#
- class LabelledSymbol[source]#
Bases:
SymbolBase class for symbols with reference designator and/or value labels
Subclasses must have a ‘config’ property that extends LabelConfigurable to provide label configuration.
- property label_config: LabelConfigurable#
Configuration object that provides label configuration
Subclasses must override this property to provide their configuration.