Surface.colorKey

Wraps SDL_GetColorKey which gets the color key used by the dsdl2.Surface for transparency

Return Value

Type: Color

transparency color key in dsdl2.Color

Throws

dsdl2.SDLException if color key unable to be fetched

Meta