Class TCustomCanvasImage
Unit
PXL.Canvas
Declaration
type TCustomCanvasImage = class abstract(TCustomCanvasParent)
Description
Abstract image that can be rendered with canvas. This provides methods that are called by canvas to obtain minimal information about textures and regions.
Hierarchy
Overview
Methods
Description
Methods
 |
function GetRegion(const Index: Integer): TIntRectList.PItem; virtual; abstract; |
Provides access to information about individual regions in the image, including texture number and region coordinates on such texture. These regions are also called "patterns" or "tiles" in different media.
|
 |
function GetTexture(const Index: Integer): TCustomBaseTexture; virtual; abstract; |
Provides access to individual textures through the specified index. If the index is outside of valid range, this should return Nil .
|
 |
function GetTextureCount: Integer; virtual; abstract; |
Returns the number of textures available in the image.
|
Copyright © 2000 - 2017 Yuriy Kotsarenko. Help files generated by PasDoc.
|