This version is out of date, covering development from v4.6.0 to v4.7.1. It is maintained here only for inbound reference links from elsewhere.
Jump to the current version of aTbRef.
|A Tinderbox Reference File : Attributes : System Attribute List : Pattern||aTbRef Site Map|
|Attribute Data Type:||string|
|Attribute Default Value:||(not set - empty string)|
|Attribute Inherited from Preferences?||No|
If Pattern is lines, the face of the note is filled with alternative horizontal lines of Color and Color2. This looks best when the two colors are similar but not identical. The keywords are case-sensitive.
If Pattern is gradient, the face of the note is filled with a linear color gradient, top to bottom, from Color to Color2.
If Pattern is diagonal, the face of the note is filled with a linear color gradient, running from upper-left to lower-right corner, from Color to Color2.
If Pattern is cylinder, the face of the note is filled with a cylindrical gradient, running from Color at the top through Color2 at the midpoint, and then to Color again at the bottom.
If Pattern is not set (empty string), no pattern is applied — this is the default.
These two patterns can't be set via the Pattern menu. Rather they are set via manual editing of this attribute or via actions, rules, etc., acting upon it.
bar([value],[min],[max]). The draws as a horizontal 'progress bar', using Color and Color2. The 'progress' block is drawn in Color2.
vbar([value],[min],[max]). The draws as a vertical 'progress bar', using Color and Color2. The 'progress' block is drawn in Color2.
In both cases the parameters work the same way:
The arguments in the brackets may be numbers or expressions that can be evaluated as numbers. If a note's width is 3.0, then bar(15*$Width) is the same as writing bar(45).
If the pattern is written without parameters or brackets, it evaluates as if at 50%, e.g. vbar() and vbar are the same as vbar(50).
|Up: System Attribute List|
|Previous: Path||Next: PlotColor|
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]