Difference between revisions of "Viewport:setClip"

From GiderosMobile
(Created page with "'''<translate>Available since</translate>:''' Gideros 2016.04<br/> '''<translate>Class</translate>:''' Viewport<br/> === Description === Sets...")
 
(remove language stuff)
Line 1: Line 1:
'''<translate>Available since</translate>:''' Gideros 2016.04<br/>
+
'''Available since:''' Gideros 2016.04<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Viewport|Viewport]]<br/>
+
'''Class:''' [[Viewport]]<br/>
  
 
=== Description ===
 
=== Description ===

Revision as of 07:43, 28 January 2021

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