Ads:setAlignment

Available since version: 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"

Syntax:

Ads:setAlignment(horizontal, vertical)

Parameters:

  • horizontal: (strong) horizontal alignment
  • vertical: (string) vertical alignment