Function VisualServerSingleton.canvasItemAddNinePatch
Adds a nine patch image to the CanvasItem
's draw commands.
See NinePatchRect
for more explanation.
void canvasItemAddNinePatch
(
const(RID) item,
const(Rect2) rect,
const(Rect2) source,
const(RID) texture,
const(Vector2) topleft,
const(Vector2) bottomright,
const(long) x_axis_mode = 0L,
const(long) y_axis_mode = 0L,
const(bool) draw_center = true,
const(Color) modulate = Color(0.00000F, 0.00000F, 0.00000F, 1.00000F, ) .this(1.00000F, 1.00000F, 1.00000F, 1.00000F),
const(RID) normal_map = RID(godot_rid(0LU))
) nothrow @nogc;