DrawTextureNPatch method
void
DrawTextureNPatch(
- TextureD texture,
- NPatchInfoD nPatchInfo,
- RectangleD dest,
- Vector2D origin,
- num rotation,
- ColorD tint,
override
Implementation
@override
void DrawTextureNPatch(
TextureD texture,
NPatchInfoD nPatchInfo,
RectangleD dest,
Vector2D origin,
num rotation,
ColorD tint,
) => run(
() => RaylibDebugLabels.DrawTextureNPatch(texture, nPatchInfo, dest, origin, rotation, tint),
() => rl.Core.DrawTextureNPatch(
rl.Temp.Texture$.Ref1(texture).ref,
rl.Temp.NPatchInfo$.Ref1(nPatchInfo).ref,
rl.Temp.Rectangle$.Ref1(dest).ref,
rl.Temp.Vector2$.Ref1(origin).ref,
rotation.toDouble(),
rl.Temp.Color$.Ref1(tint).ref,
),
);