ScreenPainter.setClipRectangle

Sets the clipping region for drawing. If width == 0 && height == 0, disabled clipping.

  1. arsd.color.Rectangle setClipRectangle(Point pt, int width, int height)
    struct ScreenPainter
    setClipRectangle
    (,
    int width
    ,
    int height
    )
  2. arsd.color.Rectangle setClipRectangle(arsd.color.Rectangle rect)

Return Value

Type: arsd.color.Rectangle

The old clip rectangle.

Meta

History

Return value was void prior to May 10, 2021.