Renderer.copy
- void copy(Texture texture, int x, int y, iRectangle sourceRect = null)
- void copy(Texture texture, iRectangle destinationRect, iRectangle sourceRect = null)
- void copy(Texture texture, iRectangle destinationRect, double angle, SDL_RendererFlip flip = SDL_FLIP_NONE, iVector center = null, iRectangle sourceRect = null)
class Renderer
void
copy
(
,,,SDL_RendererFlip flip = SDL_FLIP_NONE ,, )
d2dsdl2RendererRenderer
constructorsdestructorsfunctionsproperties
Copies a texture to the window at the given rectangle with the given angle If sourceRect is null, it will copy the entire texture, otherwise, it will copy the slice defined by sourceRect Angles are given in radians