Surface.clipRect

Wraps SDL_SetClipRect which sets the clipping dsdl2.Rect of the dsdl2.Surface

  1. Rect clipRect()
  2. void clipRect(Rect newRect)
    class Surface
    @property @trusted
    void
    clipRect
  3. void clipRect(typeof(null) _)
  4. void clipRect(Nullable!Rect newRect)

Parameters

newRect Rect

dsdl2.Rect to set as the clipping rectangle

Meta