Renderer.hasClipRect

Wraps SDL_RenderIsClipEnabled (from SDL 2.0.4) which checks whether a clipping rectangle is set in the renderer

class Renderer
const @property @trusted
static if(sdlSupport >= SDLSupport.v2_0_4)
bool
hasClipRect
()

Return Value

Type: bool

true if a clipping rectangle is set, otherwise false

Meta