Difference between revisions of "Ads:setAlignment"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2014.01<br/> === Description === Sets alignment of the ad First value is for the horizontal alignment and can have values as "left", "...") |
m (Text replacement - "<source" to "<syntaxhighlight") |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2014.01<br/> | '''Available since:''' Gideros 2014.01<br/> | ||
+ | '''Class:''' [[Ads]]<br/> | ||
+ | |||
=== Description === | === Description === | ||
− | Sets alignment of the ad | + | Sets alignment of the ad. |
+ | <syntaxhighlight lang="lua"> | ||
+ | Ads:setAlignment(horizontal,vertical) | ||
+ | </syntaxhighlight> | ||
First value is for the horizontal alignment and can have values as "left", "center", "right" | First value is for the horizontal alignment and can have values as "left", "center", "right" | ||
+ | |||
Second value is for the vertical alignment and can have values as "top", "center", "bottom" | Second value is for the vertical alignment and can have values as "top", "center", "bottom" | ||
− | + | ||
− | = | + | === Parameters === |
− | + | '''horizontal''': (string) horizontal alignment<br/> | |
− | '''horizontal | + | '''vertical''': (string) vertical alignment<br/> |
− | '''vertical | + | |
+ | {{Ads}} |
Latest revision as of 17:14, 12 July 2023
Available since: Gideros 2014.01
Class: Ads
Description
Sets alignment of the ad.
Ads:setAlignment(horizontal,vertical)
First value is for the horizontal alignment and can have values as "left", "center", "right"
Second value is for the vertical alignment and can have values as "top", "center", "bottom"
Parameters
horizontal: (string) horizontal alignment
vertical: (string) vertical alignment