drawTextureArea
fn
void drawTextureArea(TextureId texture, Rect area, Vec2 position, DrawOptions options = DrawOptions())Draws a portion of the specified texture at the given position with the specified draw options.
fn
void drawTextureArea(Rect area, Vec2 position, DrawOptions options = DrawOptions())Draws a portion of the default texture at the given position with the specified draw options. Call setDefaultTexture before using this function.
fn
void drawTextureArea(int id, Vec2 position, DrawOptions options = DrawOptions())Draws a portion of the default texture by ID at the given position with the specified draw options. Call setDefaultTexture and setDefaultTextureAreaSize before using this function.