is_rgba


Description:

public bool is_rgba ()

Returns whether surfaces on this this are created with an alpha channel.

Even if a true is returned, it is possible that the surface’s alpha channel won’t be honored when displaying the surface on the screen: in particular, for X an appropriate windowing manager and compositing manager must be running to provide appropriate display. Use is_composited to check if that is the case.

On modern displays, this value is always true.

Parameters:

this

a Display

Returns:

true if surfaces are created with an alpha channel or false if the display does not support this functionality.