GLArea.hasAlpha

Get hasAlpha property.

  1. bool hasAlpha [@property getter]
    class GLArea
    @property
    bool
    hasAlpha
    ()
  2. bool hasAlpha [@property setter]

Return Value

Type: bool

If set to true the buffer allocated by the widget will have an alpha channel component, and when rendering to the window the result will be composited over whatever is below the widget.

If set to false there will be no alpha channel, and the buffer will fully replace anything below the widget.