drawTextureSlice
fn
void drawTextureSlice(TextureId texture, Rect area, Rect target, Margin margin, bool canRepeat, DrawOptions options = DrawOptions())Draws a 9-slice from the specified texture area at the given target area.
fn
void drawTextureSlice(Rect area, Rect target, Margin margin, bool canRepeat, DrawOptions options = DrawOptions())Draws a 9-slice from the default texture area at the given target area. Call setDefaultTexture before using this function.