Canvas Nasal API: Difference between revisions

Jump to navigation Jump to search
m
→‎setAlignment: Added note about problems when not using monospaced font
m (Added the Canvas template)
m (→‎setAlignment: Added note about problems when not using monospaced font)
Line 223: Line 223:


'''Examples of alignment:''' "left-top", "center-center", "right-bottom", "left-baseline", "center-bottom-baseline"
'''Examples of alignment:''' "left-top", "center-center", "right-bottom", "left-baseline", "center-bottom-baseline"
Possible bug: At least 1 person (me) have trouble with center- and right- alignments when not using a monospaced font. [http://code.google.com/p/flightgear-bugs/issues/detail?id=1054 Bug #1054]
=== setFontSize ===
=== setFontSize ===
'''Parameters:''' (size, aspectRatio)
'''Parameters:''' (size, aspectRatio)
574

edits

Navigation menu