- copyCanvas copy(Canvas canvas) 
- drawvoid draw(Vec2f pos, Vec2f anchor) 
- Draw the texture at the specified location.
 Render the whole texture here 
- drawvoid draw(Vec2f pos, Vec4i srcRect, Vec2f anchor) 
- Render a section of the texture here 
- drawvoid draw(Vec2f pos, Vec2f size, Vec2f anchor) 
- Render the whole texture here 
- drawvoid draw(Vec2f pos, Vec2f size, Vec4i srcRect, Vec2f anchor) 
- Render a section of the texture here 
- drawvoid draw(Vec2f pos, Vec2f size, Vec4i srcRect, float angle, Flip flip, Vec2f anchor) 
- Render a section of the texture here 
- setSmoothvoid setSmooth(bool isSmooth_) 
- Toggle the canvas smoothing 
- alphafloat alpha [@property getter] 
- float alpha [@property setter] 
- blendBlend blend [@property getter] 
- Blend blend [@property setter] 
- colorColor color [@property getter] 
- Color color [@property setter] 
- Color added to the canvas. 
- heightuint height [@property getter] 
- isLoadedbool isLoaded [@property getter] 
- renderSizeVec2i renderSize [@property getter] 
- Vec2i renderSize [@property setter] 
- The size (in texels) of the surface to be rendered on.
 Changing that value allocate a new texture, so don't do it everytime. 
- targetconst(SDL_Texture*) target [@property getter] 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- widthuint width [@property getter] 
- isLoadedbool isLoaded [@property getter] 
- widthuint width [@property getter] 
- heightuint height [@property getter] 
- colorColor color [@property getter] 
- Color color [@property setter] 
- Color added to the renderable. 
- alphafloat alpha [@property getter] 
- float alpha [@property setter] 
- blendBlend blend [@property getter] 
- Blend blend [@property setter] 
- drawvoid draw(Vec2f pos, Vec2f anchor) 
- Render the whole texture here 
- drawvoid draw(Vec2f pos, Vec4i srcRect, Vec2f anchor) 
- Render a section of the texture here 
- drawvoid draw(Vec2f pos, Vec2f size, Vec2f anchor) 
- Render the whole texture here 
- drawvoid draw(Vec2f pos, Vec2f size, Vec4i srcRect, Vec2f anchor) 
- Render a section of the texture here 
- drawvoid draw(Vec2f pos, Vec2f size, Vec4i srcRect, float angle, Flip flip, Vec2f anchor) 
- Render a section of the texture here 
Behave like Texture but you can render onto it. Use pushCanvas/popCanvas to start the drawing region on it.