How to manipulate Canvas elements: Difference between revisions

Jump to navigation Jump to search
Line 233: Line 233:
* '''elem''' element to be stretched.
* '''elem''' element to be stretched.
*  '''factor''' tthe <new-height>/<old-height> ratio.
*  '''factor''' tthe <new-height>/<old-height> ratio.
*  '''ref''' the relative point to keep in-place. May be 'top','center' or 'bottom'.
*  '''ref''' optional: the relative point to keep in-place. May be 'top','center' or 'bottom'.
<hr/>
<hr/>
229

edits

Navigation menu