dplug ~master (2023-02-08T12:39:01Z)
Home
Dub
Repo
Canvas.rect
dplug
canvas
Canvas
Add a rect to the current path.
void
rect
(float x, float y, float width, float height)
struct
Canvas
public nothrow @
nogc
void
rect
(
float
x
,
float
y
,
float
width
,
float
height
)
void
rect
(vec2f topLeftPoint, vec2f dimension)
void
rect
(box2f rectangle)
void
rect
(box2i rectangle)
Meta
Source
See Implementation
dplug
canvas
Canvas
aliases
getTransform
destructors
~this
functions
arc
beginPath
bezierCurveTo
closePath
createCircularGradient
createEllipticalGradient
createLinearGradient
currentTransform
fill
fillCircle
fillRect
fillStyle
initialize
lineTo
moveTo
quadraticCurveTo
rect
resetTransform
restore
rotate
save
scale
setTransform
transform
translate
postblits
this(this)
Add a rect to the current path.