Ads:setAlignment

From GiderosMobile
Revision as of 16:53, 12 July 2023 by Hgy29 (talk | contribs) (Text replacement - "</source" to "</syntaxhighlight")

Available since: Gideros 2014.01
Class: Ads

Description

Sets alignment of the ad. <source lang="lua"> Ads:setAlignment(horizontal,vertical) </syntaxhighlight> 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