SDL3Renderer.DrawNineSlice(ITexture, Rectangle, NineSliceBorder, Nullable) Method
Definition
Namespace: Brine2D.Rendering
Draws a nine-slice \(9\-patch\) texture scaled into destination. Corners are drawn at their natural texel size; edges and center are stretched.
C#
public void DrawNineSlice(Brine2D.Rendering.ITexture texture, Brine2D.Core.Rectangle destination, Brine2D.Rendering.NineSliceBorder border, System.Nullable<Brine2D.Core.Color> tint=null);
Parameters
texture ITexture
destination Rectangle
border NineSliceBorder
Implements DrawNineSlice\(ITexture, Rectangle, NineSliceBorder, Nullable<Color>\)