DrawTextureRec method

void DrawTextureRec(
  1. Texture texture,
  2. Rectangle source,
  3. Vector2 position,
  4. Color tint,
)

Draw a part of a texture defined by a rectangle

Implementation

void DrawTextureRec(
  Texture texture,
  Rectangle source,
  Vector2 position,
  Color tint,
) => run(
  () => _debugLabels.DrawTextureRec(texture, source, position, tint),
  () => _flat.DrawTextureRec(
    texture,
    source,
    position,
    tint,
  ),
);