Class TPixelFormatList
Unit
PXL.Formats
Declaration
type TPixelFormatList = class(TObject)
Description
List of one or more pixel format elements.
Hierarchy
Overview
Methods
Properties
 |
property Count: Integer read GetCount write SetCount; |
 |
property Items[constIndex:Integer]: TPixelFormat read GetItem write SetItem; |
Description
Methods
 |
function Include(const Format: TPixelFormat): Integer; |
|
Includes specified pixel format entry to the list and returns its index. This involves searching for the entry first to determine if it's not in the list. For a faster alternative, use just Insert.
|
 |
function IndexOf(const Format: TPixelFormat): Integer; |
|
Returns index of the specified pixel format in the list. If no such entry is found, -1 is returned.
|
 |
function Insert(const Format: TPixelFormat): Integer; |
|
Inserts specified pixel format entry to the list and returns its index.
|
 |
procedure Clear; |
|
Removes all entries from the list.
|
 |
procedure InsertAll; |
|
Inserts all known pixel formats to the list.
|
 |
procedure Remove(const Index: Integer); |
|
Remove pixel format specified by the given index from the list. If the specified index is invalid, this function does nothing.
|
 |
procedure SortBestMatch(const Format: TPixelFormat); |
|
Sorts existing pixel format entries in the list according to their similarity to the given pixel format.
|
Properties
 |
property Count: Integer read GetCount write SetCount; |
|
|
 |
property Items[constIndex:Integer]: TPixelFormat read GetItem write SetItem; |
|
|
Copyright © 2000 - 2017 Yuriy Kotsarenko. Help files generated by PasDoc.
|