Returns a FoscLilypondDimension.
A LilyPond file block dimension.
Use for LilyPond file block attributes.
| unit | Gets unit of LilyPond dimension. |
| value | Gets value of LilyPond dimension. |
| format | Formats LilyPond dimension. |
Example
a = FoscLilypondDimension(2, 'in');
a.format;2\inGets unit of LilyPond dimension.
Returns cm, in, mm or pt
Example
a = FoscLilypondDimension(2, 'in');
a.unit.postln;'in'Gets value of LilyPond dimension.
Returns number.
Example
a = FoscLilypondDimension(2, "in");
a.value.postln;2Formats LilyPond dimension.
Returns string.
Example
a = FoscLilypondDimension(2, 'in');
a.format;2\in