AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkSprite.Draw Method

Immediately draws the sprite to the backbuffer at its current position, size, and rotation.

Syntax
Pascal
procedure Draw;

This is useful if you want to setup a scene for TAgkImage.ScreenShot to capture the screen. Remember to use TAgkScene.ClearScreen to clear any of your own drawing, otherwise your drawing may appear twice in the final render. 

For normal operation, you don't need (and should not) draw the sprite yourself.

Copyright (c) 2012. All rights reserved.