Creates a blank sprite.
class function CreateBlank(const Owner: TAgkObject): TAgkSprite; static;
Parameters |
Description |
const Owner: TAgkObject |
the owner of the new sprite (eg. a TAgkScene object). |
Blank sprites are drawn with color only, or you can add animation frames to it using AddAnimationFrame. By default image sprites are created with transparency set to tmAlphaTransparency, a depth of 10, are sized using the given image as a guide, and positioned at 0,0 using their top left corner.
Copyright (c) 2012. All rights reserved.
|