DrawTextureNPatch method
void
DrawTextureNPatch()
Draws a texture (or part of it) that stretches or shrinks nicely
Implementation
void DrawTextureNPatch(
Texture texture,
NPatchInfo nPatchInfo,
Rectangle dest,
Vector2 origin,
num rotation,
Color tint,
) => run(
() => _debugLabels.DrawTextureNPatch(texture, nPatchInfo, dest, origin, rotation, tint),
() => _flat.DrawTextureNPatch(
texture,
nPatchInfo,
dest,
origin,
rotation.toDouble(),
tint,
),
);