Class TBackgroundSprite

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TBackgroundSprite = class(TSprite)

Description

A sprite which draws the background of a scene.

Hierarchy

Overview

Methods

Public constructor Create(AParent:TSprite); override;

Properties

Published property Depth: single read FDepth write SetDepth;
Published property Tiled: boolean read FTile write FTile;
Published property Image: TAdImage read FImage write FImage;
Published property XTiles: integer read FXTiles write FXTiles;
Published property YTiles: integer read FYTiles write FYTiles;
Published property Center: boolean read FCenter write FCenter;

Description

Methods

Public constructor Create(AParent:TSprite); override;

Creates an instance of TBackgroundSprite

Properties

Published property Depth: single read FDepth write SetDepth;

The virtual distance from the viewer. (May be a value bigger 0)

Published property Tiled: boolean read FTile write FTile;

Defines whether the sprites is drawn patterned.

Published property Image: TAdImage read FImage write FImage;

The image which is drawn

Published property XTiles: integer read FXTiles write FXTiles;

The number of tiles in X direction if tiled is false.

Published property YTiles: integer read FYTiles write FYTiles;

The number of tiles in Y direction if tiled is false.

Published property Center: boolean read FCenter write FCenter;

Whether the background should be drawn in the center.

SourceForge.net Logo


Generated by PasDoc 0.11.0 on 2008-12-31 14:32:00