Viewport:setClip

From GiderosMobile
Revision as of 08:43, 28 January 2021 by MoKaLux (talk | contribs) (remove language stuff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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