renderTexture method

void renderTexture(
  1. Texture texture,
  2. double scos,
  3. double ssin,
  4. double tx,
  5. double ty, [
  6. Color? color,
])

Implementation

void renderTexture(Texture texture, double scos, double ssin, double tx, double ty, [Color? color]) {
  final rect = texture.rect;

  renderImage(texture.image, rect.left, rect.top, rect.right, rect.bottom, scos, ssin, tx, ty, color);
}