Skip to content

Sdl SurfaceSetColorKey

Ivan Baidakou edited this page Sep 21, 2015 · 4 revisions

Surface:setColorKey

Set the surface color key.

Method

SYNOPSIS

ret, err = function Surface:setColorKey(flag, color)

ARGUMENTS

RETURNS

  • ret, true on success or false
  • err, the error message
Clone this wiki locally