dg2d ~master (2020-11-11T23:31:17Z)
Dub
Repo
Canvas.setClip
dg2d
canvas
Canvas
Set the clip rectangle
The clip is set relative to the current viewport.
class
Canvas
void
setClip
(
int
x0
,
int
y0
,
int
x1
,
int
y1
)
Meta
Source
See Implementation
dg2d
canvas
Canvas
constructors
this
destructors
~this
functions
draw
drawText
fill
getViewState
height
isClipEmpty
pixels
resetState
resetView
resize
setClip
setView
stride
width
Set the clip rectangle
The clip is set relative to the current viewport.