Texture.drawRect

Draws the texture using a CanvasItem with the VisualServer API. Equivalent to VisualServer.canvasItemAddTextureRect.

struct Texture
@nogc nothrow const
void
drawRect
(,
in Rect2 rect
,
in bool tile
,
in Color modulate = Color(1, 1, 1, 1)
,
in bool transpose = false
,)

Meta