Surface.hasColorKey

Wraps SDL_HasColorKey (from SDL 2.0.9) which checks whether the dsdl2.Surface has a color key for transparency

class Surface
const @property @trusted
static if(sdlSupport >= SDLSupport.v2_0_9)
bool
hasColorKey
()

Return Value

Type: bool

true if it does, otherwise false

Meta