Viewport:setClip

From GiderosMobile
Revision as of 20:30, 11 February 2020 by MoKaLux (talk | contribs) (Created page with "'''<translate>Available since</translate>:''' Gideros 2016.04<br/> '''<translate>Class</translate>:''' Viewport<br/> === Description === Sets...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2016.04
Class: Viewport

Description

Sets the viewport size.

Viewport:setClip(x,y,width,height)

Parameters

x: (number) x coordinate
y: (number) y coordinate
width: (number) viewport width
height: (number) viewport height