How to manipulate Canvas elements: Difference between revisions

Jump to navigation Jump to search
Line 226: Line 226:


=== stretchY ===
=== stretchY ===
  '''parameters''': ((elem,factor,ref='top')  
  '''parameters''': (elem,factor,ref='top')  
Stretchs vertically the element .
Stretchs vertically the element .
* '''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 inplace. May be 'top','center' or 'bottom'.
*  '''ref''' the relative point to keep in-place. May be 'top','center' or 'bottom'.
<hr/>
<hr/>
229

edits

Navigation menu