get_flags


Description:

public OverlayFormatFlags get_flags ()

Retrieves the flags associated with a OverlayRectangle.

This is useful if the caller can handle both premultiplied alpha and non premultiplied alpha, for example. By knowing whether the rectangle uses premultiplied or not, it can request the pixel data in the format it is stored in, to avoid unnecessary conversion.

Parameters:

this

a OverlayRectangle

Returns:

the OverlayFormatFlags associated with the rectangle.