DrawTextureNPatch method

void DrawTextureNPatch(
  1. Texture2DD texture,
  2. NPatchInfoD nPatchInfo,
  3. RectangleD dest,
  4. Vector2D origin,
  5. num rotation,
  6. ColorD tint,
)

Implementation

void DrawTextureNPatch(
  Texture2DD texture,
  NPatchInfoD nPatchInfo,
  RectangleD dest,
  Vector2D origin,
  num rotation,
  ColorD tint,
) => run(
  () => 'DrawTextureNPatch($texture, $nPatchInfo, $dest, $origin, $rotation, $tint)',
  () => rl.Core.DrawTextureNPatch(
    _refTexture1(texture).ref,
    _refNPatchInfo1(nPatchInfo).ref,
    _refRectangle1(dest).ref,
    _refVector21(origin).ref,
    rotation.toDouble(),
    _refColor1(tint).ref,
  ),
);