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", "...") |
|||
Line 6: | Line 6: | ||
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" | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | Ads:setAlignment(horizontal,vertical) | |
</source> | </source> | ||
− | '''horizontal | + | '''horizontal''': (strong) horizontal alignment ''''''<br/> |
− | '''vertical | + | '''vertical''': (string) vertical alignment ''''''<br/> |
Revision as of 10:17, 23 August 2018
Available since: Gideros 2014.01
Description
Sets alignment of the ad 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"
Ads:setAlignment(horizontal,vertical)
'horizontal: (strong) horizontal alignment '
'vertical: (string) vertical alignment '