Canvas.draw

Render a section of the texture here

  1. void draw(Vec2f pos, Vec2f anchor)
  2. void draw(Vec2f pos, Vec4i srcRect, Vec2f anchor)
  3. void draw(Vec2f pos, Vec2f size, Vec2f anchor)
  4. void draw(Vec2f pos, Vec2f size, Vec4i srcRect, Vec2f anchor)
  5. void draw(Vec2f pos, Vec2f size, Vec4i srcRect, float angle, Flip flip, Vec2f anchor)
    class Canvas
    const
    void
    draw
    (
    Vec2f pos
    ,
    Vec2f size
    ,
    Vec4i srcRect
    ,
    float angle
    ,,
    Vec2f anchor = Vec2f.half
    )

Meta