XMediator::Api::BannerAds::Position
Class representing the available positions where a banner can be placed.
Public Functions
Name | |
---|---|
Position | Custom(int x, int y) Creates a custom banner position in x,y coordinates. |
Public Attributes
Name | |
---|---|
readonly Position | Top Top center position. |
readonly Position | Bottom Bottom center position. |
Public Functions Documentation
function Custom
Creates a custom banner position in x,y coordinates.
Parameters:
- x X Coordinate from top-left corner
- y Y Coordinate from top-left corner
Return: A Position object containing the specified x,y position.
Public Attributes Documentation
variable Top
Top center position.
variable Bottom
Bottom center position.
Updated on 2024-11-07 at 18:31:49 +0000