VisualServerCanvasItemAddNinePatch Method |
Adds a nine patch image to the CanvasItem's draw commands.
See NinePatchRect for more explanation.
Namespace: Godot
public static void CanvasItemAddNinePatch( RID item, Rect2 rect, Rect2 source, RID texture, Vector2 topleft, Vector2 bottomright, VisualServerNinePatchAxisMode xAxisMode = VisualServerNinePatchAxisMode.Stretch, VisualServerNinePatchAxisMode yAxisMode = VisualServerNinePatchAxisMode.Stretch, bool drawCenter = true, Color? modulate = null, RID normalMap = null )
[Missing <param name="item"/> documentation for "M:Godot.VisualServer.CanvasItemAddNinePatch(Godot.RID,Godot.Rect2,Godot.Rect2,Godot.RID,Godot.Vector2,Godot.Vector2,Godot.VisualServer.NinePatchAxisMode,Godot.VisualServer.NinePatchAxisMode,System.Boolean,System.Nullable{Godot.Color},Godot.RID)"]
[Missing <param name="rect"/> documentation for "M:Godot.VisualServer.CanvasItemAddNinePatch(Godot.RID,Godot.Rect2,Godot.Rect2,Godot.RID,Godot.Vector2,Godot.Vector2,Godot.VisualServer.NinePatchAxisMode,Godot.VisualServer.NinePatchAxisMode,System.Boolean,System.Nullable{Godot.Color},Godot.RID)"]
[Missing <param name="source"/> documentation for "M:Godot.VisualServer.CanvasItemAddNinePatch(Godot.RID,Godot.Rect2,Godot.Rect2,Godot.RID,Godot.Vector2,Godot.Vector2,Godot.VisualServer.NinePatchAxisMode,Godot.VisualServer.NinePatchAxisMode,System.Boolean,System.Nullable{Godot.Color},Godot.RID)"]
[Missing <param name="texture"/> documentation for "M:Godot.VisualServer.CanvasItemAddNinePatch(Godot.RID,Godot.Rect2,Godot.Rect2,Godot.RID,Godot.Vector2,Godot.Vector2,Godot.VisualServer.NinePatchAxisMode,Godot.VisualServer.NinePatchAxisMode,System.Boolean,System.Nullable{Godot.Color},Godot.RID)"]
[Missing <param name="topleft"/> documentation for "M:Godot.VisualServer.CanvasItemAddNinePatch(Godot.RID,Godot.Rect2,Godot.Rect2,Godot.RID,Godot.Vector2,Godot.Vector2,Godot.VisualServer.NinePatchAxisMode,Godot.VisualServer.NinePatchAxisMode,System.Boolean,System.Nullable{Godot.Color},Godot.RID)"]
[Missing <param name="bottomright"/> documentation for "M:Godot.VisualServer.CanvasItemAddNinePatch(Godot.RID,Godot.Rect2,Godot.Rect2,Godot.RID,Godot.Vector2,Godot.Vector2,Godot.VisualServer.NinePatchAxisMode,Godot.VisualServer.NinePatchAxisMode,System.Boolean,System.Nullable{Godot.Color},Godot.RID)"]
[Missing <param name="xAxisMode"/> documentation for "M:Godot.VisualServer.CanvasItemAddNinePatch(Godot.RID,Godot.Rect2,Godot.Rect2,Godot.RID,Godot.Vector2,Godot.Vector2,Godot.VisualServer.NinePatchAxisMode,Godot.VisualServer.NinePatchAxisMode,System.Boolean,System.Nullable{Godot.Color},Godot.RID)"]
[Missing <param name="yAxisMode"/> documentation for "M:Godot.VisualServer.CanvasItemAddNinePatch(Godot.RID,Godot.Rect2,Godot.Rect2,Godot.RID,Godot.Vector2,Godot.Vector2,Godot.VisualServer.NinePatchAxisMode,Godot.VisualServer.NinePatchAxisMode,System.Boolean,System.Nullable{Godot.Color},Godot.RID)"]
[Missing <param name="drawCenter"/> documentation for "M:Godot.VisualServer.CanvasItemAddNinePatch(Godot.RID,Godot.Rect2,Godot.Rect2,Godot.RID,Godot.Vector2,Godot.Vector2,Godot.VisualServer.NinePatchAxisMode,Godot.VisualServer.NinePatchAxisMode,System.Boolean,System.Nullable{Godot.Color},Godot.RID)"]
[Missing <param name="normalMap"/> documentation for "M:Godot.VisualServer.CanvasItemAddNinePatch(Godot.RID,Godot.Rect2,Godot.Rect2,Godot.RID,Godot.Vector2,Godot.Vector2,Godot.VisualServer.NinePatchAxisMode,Godot.VisualServer.NinePatchAxisMode,System.Boolean,System.Nullable{Godot.Color},Godot.RID)"]