A rectangular overlay that can be assigned a
texture.
Initialize | Initializes the overlay with a position of (0, 0), a width of 100 pixels, and a height of 50 pixels. |
InitializeWithPositionSize | Initializes the overlay with the specified position and size. |
InitializeWithPositionTexture | Initializes the overlay with a specified background texture. The size of the overlay will be the same as the size of the texture. |
InitializeWithXYTexture | Initializes the overlay with a specified background texture. The size of the overlay will be the same as the size of the texture. |
InitializeWithXYWidthHeight | Initializes the overlay with the specified x position, y position, width, and height, all specified in pixels. |