Ads:setAlignment

From GiderosMobile
Revision as of 21:01, 16 April 2023 by MoKaLux (talk | contribs)

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