Difference between revisions of "X Media:resizeWidth"

From GiderosMobile
(Created page with "__NOTOC__ '''<translate>Available since</translate>:''' Gideros 2016.1<br/> '''<translate>Class</translate>:''' Media<br/> === Description === R...")
 
m (MoKaLux moved page X Media:resizeWidth(newWidth, fixed) to X Media:resizeWidth: wrong initial name)
(No difference)

Revision as of 21:09, 10 February 2020


Available since: Gideros 2016.1
Class: Media

Description

Resizes image width, if fixed is true image is resized with fixed aspect ratio.

Media:resizeWidth(newWidth, fixed)

Parameters

newWidth: (number) new image width
fixed: (boolean) true for fixed aspect ratio