dplug ~master (2024-09-30T22:25:31Z)
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)
void
rect
(vec2f topLeftPoint, vec2f dimension)
void
rect
(box2f rectangle)
struct
Canvas
nothrow @
nogc
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
fillRule
fillStyle
globalCompositeOperation
initialize
lineTo
moveTo
quadraticCurveTo
rect
resetTransform
restore
rotate
save
scale
setTransform
transform
translate
postblits
this(this)
Add a rect to the current path.