Class tmaskedbitmap
Unit
Declaration
type tmaskedbitmap = class(tbitmap, iobjectlink)
Description
This item has no description.
Hierarchy
- TObject
- tpersistent
- tvirtualpersistent
- tnullinterfacedpersistent
- tsimplebitmap
- tbitmap
- tmaskedbitmap
Overview
Fields
| Protected | foptions: bitmapoptionsty; |
| Protected | fmask: tbitmap; |
| Protected | fmask_pos: pointty; |
Methods
| Protected | procedure setkind(const avalue: bitmapkindty); override; |
| Protected | function gettranspcolor(): colorty; |
| Protected | function getasize: sizety; override; |
| Protected | procedure createmask(const akind: bitmapkindty); virtual; |
| Protected | function getconverttomonochromecolorbackground: colorty; override; |
| Protected | procedure destroyhandle; override; |
| Protected | procedure setsize(const Value: sizety); override; |
| Protected | function writedata(const ancestor: tmaskedbitmap): boolean; |
| Protected | procedure defineproperties(filer: tfiler); override; |
| Protected | procedure objectevent(const sender: tobject; const event: objecteventty); |
| Protected | function getmask(out apos: pointty): tsimplebitmap; override; |
| Protected | function getsource: tbitmapcomp; override; |
| Protected | procedure assign1(const source: tsimplebitmap; const docopy: boolean); override; |
| Protected | procedure getcanvasimage(const bgr: boolean; var aimage: maskedimagety); override; |
| Protected | procedure link(const source,dest: iobjectlink; valuepo: pointer = nil; ainterfacetype: pointer = nil; once: boolean = false); |
| Protected | procedure unlink(const source,dest: iobjectlink; valuepo: pointer = nil); |
| Protected | procedure objevent(const sender: iobjectlink; const event: objecteventty); |
| Protected | function getinstance: tobject; |
| Protected | function doloadfromstream(const atry: boolean; const stream: tstream; const format: string; const params: array of const): string; |
| Protected | function doloadfromfile(const atry: boolean; const filename: filenamety; const format: string; const params: array of const): string; |
| Protected | function doloadfromstring(const atry: boolean; const avalue: string; const format: string; const params: array of const): string; |
| Public | constructor create(const akind: bitmapkindty; const agdifuncs: pgdifunctionaty = nil); |
| Public | destructor destroy; override; |
| Public | procedure clear; override; |
| Public | procedure loadfrommaskedimage(const aimage: maskedimagety); |
| Public | procedure savetomaskedimage(out aimage: maskedimagety); |
| Public | function bitmap: tmaskedbitmap; |
| Public | procedure releasehandle; override; |
| Public | procedure acquirehandle; override; |
| Public | procedure initmask; |
| Public | procedure stretch(const dest: tmaskedbitmap; const aalignment: alignmentsty = [al_stretchx,al_stretchy,al_intpol]); overload; |
| Public | procedure stretch(const source: rectty; const dest: tmaskedbitmap; const aalignment: alignmentsty = [al_stretchx,al_stretchy,al_intpol]); overload; |
| Public | procedure remask; |
| Public | procedure automask; |
| Public | function loadfromstring(const avalue: string; const format: string; const params: array of const): string; |
| Public | function loadfromstring(const avalue: string): string; |
| Public | function loadfromstream(const stream: tstream; const format: string; const params: array of const): string; |
| Public | function loadfromstream(const stream: tstream): string; |
| Public | function loadfromfile(const filename: filenamety; const format: string; const params: array of const): string; |
| Public | function loadfromfile(const filename: filenamety): string; |
| Public | function tryloadfromstring(const avalue: string; const format: string; const params: array of const): string; |
| Public | function tryloadfromstring(const avalue: string): string; |
| Public | function tryloadfromstream(const stream: tstream; const format: string; const params: array of const): string; |
| Public | function tryloadfromstream(const stream: tstream): string; |
| Public | function tryloadfromfile(const filename: filenamety; const format: string; const params: array of const): string; |
| Public | function tryloadfromfile(const filename: filenamety): string; |
| Public | procedure writetostring(out avalue: string; const format: string; const params: array of const); overload; |
| Public | function writetostring(const format: string; const params: array of const): string; overload; |
| Public | procedure writetostream(const stream: tstream; const format: string; const params: array of const); |
| Public | procedure writetofile(const filename: filenamety; const format: string; const params: array of const); |
Properties
| Public | property mask: tbitmap read getmask1 write setmask; |
| Public | property maskkind: bitmapkindty read getmaskkind
write setmaskkind default bmk_mono; |
| Public | property masked: boolean read getmasked write setmasked default false; |
| Public | property graymask: boolean read getgraymask write setgraymask default false; |
| Public | property colormask: boolean read getcolormask write setcolormask default false; |
| Public | property maskcolorforeground: colorty read fmaskcolorforeground
write fmaskcolorforeground default $ffffff; |
| Public | property maskcolorbackground: colorty read fmaskcolorbackground
write fmaskcolorbackground default $000000; |
| Public | property mask_pos: pointty read fmask_pos write setmaskpos; |
| Public | property origformatdata: string read forigformatdata write setorigformatdata; |
| Published | property transparentcolor: colorty read ftransparentcolor
write settransparentcolor default cl_default; |
| Published | property options: bitmapoptionsty read getoptions write setoptions default []; |
| Published | property source: tbitmapcomp read fsource write setsource; |
| Published | property mask_source: tbitmapcomp read fmask_source write setmask_source; |
| Published | property mask_x: int32 read fmask_pos.x write setmask_x default 0; |
| Published | property mask_y: int32 read fmask_pos.y write setmask_y default 0; |
| Published | property origformat: string read forigformat write forigformat; |
| Published | property colorforeground; |
| Published | property colorbackground; |
| Published | property alignment; |
| Published | property opacity; |
Description
Fields
| Protected | foptions: bitmapoptionsty; |
|
This item has no description. | |
| Protected | fmask: tbitmap; |
|
This item has no description. | |
| Protected | fmask_pos: pointty; |
|
This item has no description. | |
Methods
| Protected | procedure setkind(const avalue: bitmapkindty); override; |
|
This item has no description. | |
| Protected | function gettranspcolor(): colorty; |
|
This item has no description. | |
| Protected | function getasize: sizety; override; |
|
This item has no description. | |
| Protected | procedure createmask(const akind: bitmapkindty); virtual; |
|
This item has no description. | |
| Protected | function getconverttomonochromecolorbackground: colorty; override; |
|
This item has no description. | |
| Protected | procedure destroyhandle; override; |
|
This item has no description. | |
| Protected | procedure setsize(const Value: sizety); override; |
|
This item has no description. | |
| Protected | function writedata(const ancestor: tmaskedbitmap): boolean; |
|
This item has no description. | |
| Protected | procedure defineproperties(filer: tfiler); override; |
|
This item has no description. | |
| Protected | procedure objectevent(const sender: tobject; const event: objecteventty); |
|
This item has no description. | |
| Protected | function getmask(out apos: pointty): tsimplebitmap; override; |
|
This item has no description. | |
| Protected | function getsource: tbitmapcomp; override; |
|
This item has no description. | |
| Protected | procedure assign1(const source: tsimplebitmap; const docopy: boolean); override; |
|
This item has no description. | |
| Protected | procedure getcanvasimage(const bgr: boolean; var aimage: maskedimagety); override; |
|
This item has no description. | |
| Protected | procedure link(const source,dest: iobjectlink; valuepo: pointer = nil; ainterfacetype: pointer = nil; once: boolean = false); |
|
This item has no description. | |
| Protected | procedure unlink(const source,dest: iobjectlink; valuepo: pointer = nil); |
|
This item has no description. | |
| Protected | procedure objevent(const sender: iobjectlink; const event: objecteventty); |
|
This item has no description. | |
| Protected | function getinstance: tobject; |
|
This item has no description. | |
| Protected | function doloadfromstream(const atry: boolean; const stream: tstream; const format: string; const params: array of const): string; |
|
This item has no description. | |
| Protected | function doloadfromfile(const atry: boolean; const filename: filenamety; const format: string; const params: array of const): string; |
|
This item has no description. | |
| Protected | function doloadfromstring(const atry: boolean; const avalue: string; const format: string; const params: array of const): string; |
|
This item has no description. | |
| Public | constructor create(const akind: bitmapkindty; const agdifuncs: pgdifunctionaty = nil); |
|
This item has no description. | |
| Public | destructor destroy; override; |
|
This item has no description. | |
| Public | procedure clear; override; |
|
This item has no description. | |
| Public | procedure loadfrommaskedimage(const aimage: maskedimagety); |
|
This item has no description. | |
| Public | procedure savetomaskedimage(out aimage: maskedimagety); |
|
This item has no description. | |
| Public | function bitmap: tmaskedbitmap; |
|
This item has no description. | |
| Public | procedure releasehandle; override; |
|
This item has no description. | |
| Public | procedure acquirehandle; override; |
|
This item has no description. | |
| Public | procedure initmask; |
|
This item has no description. | |
| Public | procedure stretch(const dest: tmaskedbitmap; const aalignment: alignmentsty = [al_stretchx,al_stretchy,al_intpol]); overload; |
|
This item has no description. | |
| Public | procedure stretch(const source: rectty; const dest: tmaskedbitmap; const aalignment: alignmentsty = [al_stretchx,al_stretchy,al_intpol]); overload; |
|
This item has no description. | |
| Public | procedure remask; |
|
This item has no description. | |
| Public | procedure automask; |
|
This item has no description. | |
| Public | function loadfromstring(const avalue: string; const format: string; const params: array of const): string; |
|
This item has no description. | |
| Public | function loadfromstring(const avalue: string): string; |
|
This item has no description. | |
| Public | function loadfromstream(const stream: tstream; const format: string; const params: array of const): string; |
|
This item has no description. | |
| Public | function loadfromstream(const stream: tstream): string; |
|
This item has no description. | |
| Public | function loadfromfile(const filename: filenamety; const format: string; const params: array of const): string; |
|
This item has no description. | |
| Public | function loadfromfile(const filename: filenamety): string; |
|
This item has no description. | |
| Public | function tryloadfromstring(const avalue: string; const format: string; const params: array of const): string; |
|
This item has no description. | |
| Public | function tryloadfromstring(const avalue: string): string; |
|
This item has no description. | |
| Public | function tryloadfromstream(const stream: tstream; const format: string; const params: array of const): string; |
|
This item has no description. | |
| Public | function tryloadfromstream(const stream: tstream): string; |
|
This item has no description. | |
| Public | function tryloadfromfile(const filename: filenamety; const format: string; const params: array of const): string; |
|
This item has no description. | |
| Public | function tryloadfromfile(const filename: filenamety): string; |
|
This item has no description. | |
| Public | procedure writetostring(out avalue: string; const format: string; const params: array of const); overload; |
|
This item has no description. | |
| Public | function writetostring(const format: string; const params: array of const): string; overload; |
|
This item has no description. | |
| Public | procedure writetostream(const stream: tstream; const format: string; const params: array of const); |
|
This item has no description. | |
| Public | procedure writetofile(const filename: filenamety; const format: string; const params: array of const); |
|
This item has no description. | |
Properties
| Public | property mask: tbitmap read getmask1 write setmask; |
|
This item has no description. | |
| Public | property maskkind: bitmapkindty read getmaskkind
write setmaskkind default bmk_mono; |
|
This item has no description. | |
| Public | property masked: boolean read getmasked write setmasked default false; |
|
This item has no description. | |
| Public | property graymask: boolean read getgraymask write setgraymask default false; |
|
This item has no description. | |
| Public | property colormask: boolean read getcolormask write setcolormask default false; |
|
This item has no description. | |
| Public | property maskcolorforeground: colorty read fmaskcolorforeground
write fmaskcolorforeground default $ffffff; |
|
This item has no description. | |
| Public | property maskcolorbackground: colorty read fmaskcolorbackground
write fmaskcolorbackground default $000000; |
|
This item has no description. | |
| Public | property mask_pos: pointty read fmask_pos write setmaskpos; |
|
This item has no description. | |
| Public | property origformatdata: string read forigformatdata write setorigformatdata; |
|
This item has no description. | |
| Published | property transparentcolor: colorty read ftransparentcolor
write settransparentcolor default cl_default; |
|
This item has no description. | |
| Published | property options: bitmapoptionsty read getoptions write setoptions default []; |
|
This item has no description. | |
| Published | property source: tbitmapcomp read fsource write setsource; |
|
This item has no description. | |
| Published | property mask_source: tbitmapcomp read fmask_source write setmask_source; |
|
This item has no description. | |
| Published | property mask_x: int32 read fmask_pos.x write setmask_x default 0; |
|
This item has no description. | |
| Published | property mask_y: int32 read fmask_pos.y write setmask_y default 0; |
|
This item has no description. | |
| Published | property origformat: string read forigformat write forigformat; |
|
This item has no description. | |
| Published | property colorforeground; |
|
This item has no description. | |
| Published | property colorbackground; |
|
This item has no description. | |
| Published | property alignment; |
|
This item has no description. | |
| Published | property opacity; |
|
This item has no description. | |
Generated by PasDoc 0.17.0.snapshot.