X Media:crop

From GiderosMobile
Revision as of 22:37, 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 === C...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Available since: Gideros 2016.1
Class: Media

Description

Crops an image width and height from x and y point coordinate.

Media:crop(x, y, width, height)

Parameters

x: (number) x coordinate of the point
y: (number) y coordinate of the point
width: (number) width of the crop
height: (number) height of the crop