VisualServerSingleton.canvasItemAddNinePatch

Adds a nine patch image to the CanvasItem's draw commands. See NinePatchRect for more explanation.

struct VisualServerSingleton
@nogc nothrow
void
canvasItemAddNinePatch
(
in RID item
,
in Rect2 rect
,
in Rect2 source
,
in RID texture
,
in Vector2 topleft
,
in Vector2 bottomright
,
in long x_axis_mode = 0
,
in long y_axis_mode = 0
,
in bool draw_center = true
,
in Color modulate = Color(1, 1, 1, 1)
,
in RID normal_map = RID.init
)

Meta