CanvasItem.drawTextureRect

Draws a textured rectangle at a given position, optionally modulated by a color. If transpose is true, the texture will have its X and Y coordinates swapped.

struct CanvasItem
@nogc nothrow
void
drawTextureRect
(,
in Rect2 rect
,
in bool tile
,
in Color modulate = Color(1, 1, 1, 1)
,
in bool transpose = false
,)

Meta