DimLineMixin is a mixin containing rules that can be used by other designs—but see Note, below.
We do not use it alone, we use it to add the rules to other designs. NOTE: presently there are no UI designs that use this mixin (see below).
Although this mixin is not mixed into LinearDimension, LinearDimension has some of these same rules and formulas.
Parameter Rules
extLineExtension: | Distance of the line extension from the center of the text |
Example: | this.textHeight; |
extLineGap: | The gap from the center of the text to the line extension . Uses the extLineExtension value to set as its default. |
Example: | this.extLineExtension / 2 |
showExtLineFrom: | Turns on and off the 'from' extension line. |
Example: | true; |
showExtLineTo: | Turns on and off the 'to' extension line. |
Example: | true; |
Mixins
None
RULE NAME |
TYPE |
DEFAULTS |
CATEGORY |
FLAGS |
---|---|---|---|---|
extLineExtension |
number |
this.extLineGap |
ExtLines |
Cached Lookup |
extLineGap |
number |
this.textHeight |
ExtLines |
Cached Lookup |
showExtLineFrom |
boolean |
true |
ExtLines |
Cached |
showExtLineTo |
boolean |
true |
ExtLines |
Cached |
UI Designs that use the DimensionTextMixin:
Although this mixin is not mixed into LinearDimension, LinearDimension has some of these same rules and formulas.