A Tinderbox Reference File : Visual Styling : Note Colors : Pattern: bar(30) |
Pattern: bar(30) |
Note that this pattern can't be set via the Pattern menu. Rather it is 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.
The parameters work this 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. bar() and bar are the same as bar(50).
Up: Note Colors | |
Previous: Pattern: cylinder | Next: Pattern: vbar(70) |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]