Class timagelist

Unit

Declaration

type timagelist = class(tmsecomponent)

Description

No description available, ancestor tmsecomponent description follows

Hierarchy

Overview

Fields

Protected fversionhigh: int32;
Protected fversiondefault: int32;
Protected fcornermaskmaxtopleft: int32;
Protected fcornermaskmaxbottomleft: int32;
Protected fcornermaskmaxbottomright: int32;
Protected fcornermaskmaxtopright: int32;

Methods

Protected procedure updateversionindex(var aindex: int32);
Protected function indextoorg(index: integer): pointty;
Protected procedure change;
Protected procedure defineproperties(filer: tfiler); override;
Protected procedure cornermaskchanged();
Protected procedure loaded() override;
Protected procedure writeimage(stream: tstream);
Protected procedure readimage(stream: tstream);
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure beginupdate;
Public procedure endupdate;
Public procedure clear;
Public procedure deleteimage(const index: integer);
Public procedure moveimage(const fromindex: integer; const toindex: integer; aversion: int32 = -1);
Public procedure setimage(index: integer; image: tmaskedbitmap; const source: rectty; aalignment: alignmentsty = []; aversion: int32 = -1);
Public procedure setimage(index: integer; image: tmaskedbitmap; const aalignment: alignmentsty = []; aversion: int32 = -1);
Public procedure getimage(const index: integer; const dest: tmaskedbitmap; aversion: int32 = -1);
Public function addimage(const image: tmaskedbitmap; const aalignment: alignmentsty = []): integer;
Public procedure clipcornermask(const canvas: tcanvas; const arect: rectty; const ahiddenedges: edgesty);
Public procedure paint(const acanvas: tcanvas; const index: integer; const dest: pointty; const acolor: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default; aversion: int32 = -1);
Public procedure paint(const acanvas: tcanvas; const index: integer; const dest: rectty; const alignment: alignmentsty = []; const acolor: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default; aversion: int32 = -1);
Public procedure paint(const acanvas: tcanvas; const index: integer; const dest: rectty; source: rectty; const alignment: alignmentsty = []; const acolor: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default; aversion: int32 = -1);
Public procedure paintlookup(const acanvas: tcanvas; const index: integer; const dest: pointty; const acolor: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default; aversion: int32 = -1);
Public procedure paintlookup(const acanvas: tcanvas; const index: integer; const dest: rectty; const alignment: alignmentsty = []; const acolor: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default; aversion: int32 = -1);
Public procedure paintlookup(const acanvas: tcanvas; const index: integer; const dest: rectty; source: rectty; const alignment: alignmentsty = []; const acolor: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default; aversion: int32 = -1);
Public function lookup(const aindex: int32): int32;
Public procedure assign(sender: tpersistent); override;

Properties

Public property size: sizety read fsize write setsize;
Public property bitmap: tmaskedbitmap read getbitmap;
Public property bitmaps[constaindex:int32]: tmaskedbitmap read getbitmaps;
Public property kind: bitmapkindty read getkind write setkind default bmk_rgb;
Public property maskkind: bitmapkindty read getmaskkind write setmaskkind default bmk_mono;
Public property masked: boolean read getmasked write setmasked default true;
Public property graymask: boolean read getgraymask write setgraymask default false;
Public property colormask: boolean read getcolormask write setcolormask default false;
Public property hascornermask: boolean read fhascornermask;
Published property versioncount: int32 read getversioncount write setversioncount default 1;
Published property versiondefault: int32 read fversiondefault write setversiondefault default 0;
Published property width: integer read fsize.cx write setwidth default defaultimagelistwidth;
Published property height: integer read fsize.cy write setheight default defaultimagelistheight;
Published property options: bitmapoptionsty read getoptions write setoptions default [bmo_masked];
Published property transparentcolor: colorty read gettransparentcolor write settransparentcolor default cl_none;
Published property count: integer read fcount write setcount default 0;
Published property indexlookup: msestring read findexlookup write setindexlookup;
Published property cornermask_topleft: msestring read fcornermask_topleft write setcornermask_topleft;
Published property cornermask_bottomleft: msestring read fcornermask_bottomleft write setcornermask_bottomleft;
Published property cornermask_bottomright: msestring read fcornermask_bottomright write setcornermask_bottomright;
Published property cornermask_topright: msestring read fcornermask_topright write setcornermask_topright;
Published property onchange: notifyeventty read fonchange write fonchange;

Description

Fields

Protected fversionhigh: int32;
 
Protected fversiondefault: int32;
 
Protected fcornermaskmaxtopleft: int32;
 
Protected fcornermaskmaxbottomleft: int32;
 
Protected fcornermaskmaxbottomright: int32;
 
Protected fcornermaskmaxtopright: int32;
 

Methods

Protected procedure updateversionindex(var aindex: int32);
 
Protected function indextoorg(index: integer): pointty;
 
Protected procedure change;
 
Protected procedure defineproperties(filer: tfiler); override;
 
Protected procedure cornermaskchanged();
 
Protected procedure loaded() override;
 
Protected procedure writeimage(stream: tstream);
 
Protected procedure readimage(stream: tstream);
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy; override;
 
Public procedure beginupdate;
 
Public procedure endupdate;
 
Public procedure clear;
 
Public procedure deleteimage(const index: integer);
 
Public procedure moveimage(const fromindex: integer; const toindex: integer; aversion: int32 = -1);
 
Public procedure setimage(index: integer; image: tmaskedbitmap; const source: rectty; aalignment: alignmentsty = []; aversion: int32 = -1);
 
Public procedure setimage(index: integer; image: tmaskedbitmap; const aalignment: alignmentsty = []; aversion: int32 = -1);
 
Public procedure getimage(const index: integer; const dest: tmaskedbitmap; aversion: int32 = -1);
 
Public function addimage(const image: tmaskedbitmap; const aalignment: alignmentsty = []): integer;
 
Public procedure clipcornermask(const canvas: tcanvas; const arect: rectty; const ahiddenedges: edgesty);
 
Public procedure paint(const acanvas: tcanvas; const index: integer; const dest: pointty; const acolor: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default; aversion: int32 = -1);
 
Public procedure paint(const acanvas: tcanvas; const index: integer; const dest: rectty; const alignment: alignmentsty = []; const acolor: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default; aversion: int32 = -1);
 
Public procedure paint(const acanvas: tcanvas; const index: integer; const dest: rectty; source: rectty; const alignment: alignmentsty = []; const acolor: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default; aversion: int32 = -1);
 
Public procedure paintlookup(const acanvas: tcanvas; const index: integer; const dest: pointty; const acolor: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default; aversion: int32 = -1);
 
Public procedure paintlookup(const acanvas: tcanvas; const index: integer; const dest: rectty; const alignment: alignmentsty = []; const acolor: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default; aversion: int32 = -1);
 
Public procedure paintlookup(const acanvas: tcanvas; const index: integer; const dest: rectty; source: rectty; const alignment: alignmentsty = []; const acolor: colorty = cl_default; const acolorbackground: colorty = cl_default; const aopacity: colorty = cl_default; aversion: int32 = -1);
 
Public function lookup(const aindex: int32): int32;
 
Public procedure assign(sender: tpersistent); override;
 

Properties

Public property size: sizety read fsize write setsize;
 
Public property bitmap: tmaskedbitmap read getbitmap;
 
Public property bitmaps[constaindex:int32]: tmaskedbitmap read getbitmaps;
 
Public property kind: bitmapkindty read getkind write setkind default bmk_rgb;
 
Public property maskkind: bitmapkindty read getmaskkind write setmaskkind default bmk_mono;
 
Public property masked: boolean read getmasked write setmasked default true;
 
Public property graymask: boolean read getgraymask write setgraymask default false;
 
Public property colormask: boolean read getcolormask write setcolormask default false;
 
Public property hascornermask: boolean read fhascornermask;
 
Published property versioncount: int32 read getversioncount write setversioncount default 1;
 
Published property versiondefault: int32 read fversiondefault write setversiondefault default 0;
 
Published property width: integer read fsize.cx write setwidth default defaultimagelistwidth;
 
Published property height: integer read fsize.cy write setheight default defaultimagelistheight;
 
Published property options: bitmapoptionsty read getoptions write setoptions default [bmo_masked];
 
Published property transparentcolor: colorty read gettransparentcolor write settransparentcolor default cl_none;
 
Published property count: integer read fcount write setcount default 0;
 
Published property indexlookup: msestring read findexlookup write setindexlookup;
 
Published property cornermask_topleft: msestring read fcornermask_topleft write setcornermask_topleft;
 
Published property cornermask_bottomleft: msestring read fcornermask_bottomleft write setcornermask_bottomleft;
 
Published property cornermask_bottomright: msestring read fcornermask_bottomright write setcornermask_bottomright;
 
Published property cornermask_topright: msestring read fcornermask_topright write setcornermask_topright;
 
Published property onchange: notifyeventty read fonchange write fonchange;
 

Generated by PasDoc 0.16.0.