How to manipulate Canvas elements: Difference between revisions

Jump to navigation Jump to search
Line 235: Line 235:
*  '''ref''' optional: the relative point to keep in-place. May be 'top' (default),'center' or 'bottom'.
*  '''ref''' optional: the relative point to keep in-place. May be 'top' (default),'center' or 'bottom'.
<hr/>
<hr/>
=== resize ===
'''parameters''': (elem,factors,ref='left-top')
Resizes vertically the element along both ''X'' and ''Y'' axis.
* '''elem''' element to be resized.
*  '''factors''' as [Xfactor, Yfactor].
*  '''ref''' optional: the relative point to keep in-place.
229

edits

Navigation menu