Function Renderer.hasClipRect

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

bool hasClipRect() @property @trusted const;

Returns

true if a clipping rectangle is set, otherwise false