X Media:resizeWidth

From GiderosMobile
Revision as of 20:05, 10 February 2020 by MoKaLux (talk | contribs) (Created page with "__NOTOC__ '''<translate>Available since</translate>:''' Gideros 2016.1<br/> '''<translate>Class</translate>:''' Media<br/> === Description === R...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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