Class tfont
Unit
Declaration
type tfont = class(tlinkedoptionalpersistent, icanvas)
Description
This item has no description.
Hierarchy
- TObject
- tpersistent
- tvirtualpersistent
- tnullinterfacedpersistent
- tlinkedpersistent
- tlinkedoptionalpersistent
- tfont
Overview
Fields
| Protected | finfo: fontinfoty; |
| Protected | fhandlepo: ˆfontnumty; |
Methods
| Protected | procedure dochanged(const changed: canvasstatesty; const nochange: boolean); virtual; |
| Protected | function getfont(var drawinfo: drawinfoty): boolean; virtual; |
| Protected | procedure setname(const Value: string); virtual; |
| Protected | function gethandle: fontnumty; virtual; |
| Protected | function getdatapo: pfontdataty; |
| Protected | procedure assignproperties(const source: tfont; const ahandles: boolean); virtual; |
| Protected | procedure defineproperties(filer: tfiler); override; |
| Protected | procedure settemplateinfo(const ainfo: basefontinfoty); |
| Protected | procedure objectevent(const sender: tobject; const event: objecteventty); override; |
| Protected | function isheightstored(): boolean; |
| Protected | function iswidthstored(): boolean; |
| Protected | function isextraspacestored(): boolean; |
| Protected | function isnamestored(): boolean; |
| Protected | function ischarsetstored(): boolean; |
| Protected | function isoptionsstored(): boolean; |
| Public | constructor create; override; |
| Public | destructor destroy; override; |
| Public | procedure assign(source: tpersistent); override; |
| Public | procedure scale(const ascale: real); virtual; |
| Public | function gethandleforcanvas(const canvas: tcanvas): fontnumty; |
Properties
| Protected | property rotation: real read getrotation write setrotation; |
| Public | property handle: fontnumty read gethandle; |
| Public | property ascent: integer read getascent; |
| Public | property descent: integer read getdescent; |
| Public | property glyphheight: integer read getglyphheight; |
| Public | property lineheight: integer read getlineheight; |
| Public | property linewidth: integer read getlinewidth; |
| Public | property caretshift: integer read getcaretshift; |
| Public | property onchange: notifyeventty read fonchange write fonchange; |
| Public | property bold: boolean read getbold write setbold; |
| Public | property italic: boolean read getitalic write setitalic; |
| Public | property underline: boolean read getunderline write setunderline; |
| Public | property strikeout: boolean read getstrikeout write setstrikeout; |
| Public | property heightflo: flo64 read getheightflo write setheightflo; |
| Published | property color: colorty read getcolor write setcolor
stored iscolorstored default cl_default; |
| Published | property colorbackground: colorty read getcolorbackground
write setcolorbackground stored iscolorbackgroundstored
default cl_default; |
| Published | property colorselect: colorty read getcolorselect write setcolorselect
stored iscolorselectstored default cl_default; |
| Published | property colorselectbackground: colorty read getcolorselectbackground
write setcolorselectbackground stored iscolorselectbackgroundstored
default cl_default; |
| Published | property shadow_color: colorty read getshadow_color write setshadow_color
stored isshadow_colorstored default cl_none; |
| Published | property shadow_shiftx: integer read getshadow_shiftx write setshadow_shiftx
stored isshadow_shiftxstored default 1; |
| Published | property shadow_shifty: integer read getshadow_shifty write setshadow_shifty
stored isshadow_shiftystored default 1; |
| Published | property gloss_color: colorty read getgloss_color
write setgloss_color
stored isgloss_colorstored default cl_none; |
| Published | property gloss_shiftx: integer read getgloss_shiftx write setgloss_shiftx
stored isgloss_shiftxstored default -1; |
| Published | property gloss_shifty: integer read getgloss_shifty write setgloss_shifty
stored isgloss_shiftystored default -1; |
| Published | property grayed_color: colorty read getgrayed_color
write setgrayed_color
stored isgrayed_colorstored default cl_default; |
| Published | property grayed_colorshadow: colorty read getgrayed_colorshadow
write setgrayed_colorshadow
stored isgrayed_colorshadowstored default cl_default; |
| Published | property grayed_shiftx: integer read getgrayed_shiftx write
setgrayed_shiftx
stored isgrayed_shiftxstored default 1; |
| Published | property grayed_shifty: integer read getgrayed_shifty write
setgrayed_shifty
stored isgrayed_shiftystored default 1; |
| Published | property height: integer read getheight write setheight
stored isheightstored default 0; |
| Published | property width: integer read getwidth write setwidth
stored iswidthstored default 0; |
| Published | property extraspace: integer read getextraspace write setextraspace
stored isextraspacestored default 0; |
| Published | property style: fontstylesty read getstyle write setstyle
stored isstylestored default []; |
| Published | property name: string read getname write setname stored isnamestored; |
| Published | property charset: string read getcharset write setcharset
stored ischarsetstored; |
| Published | property options: fontoptionsty read getoptions write setoptions
stored isoptionsstored default []; |
| Published | property xscale: real read getxscale write setxscale stored isxscalestored; |
| Published | property localprops: fontlocalpropsty read flocalprops write setlocalprops; |
| Published | property template: tfontcomp read ftemplate write settemplate; |
Description
Fields
| Protected | finfo: fontinfoty; |
|
This item has no description. | |
| Protected | fhandlepo: ˆfontnumty; |
|
This item has no description. | |
Methods
| Protected | procedure dochanged(const changed: canvasstatesty; const nochange: boolean); virtual; |
|
This item has no description. | |
| Protected | function getfont(var drawinfo: drawinfoty): boolean; virtual; |
|
This item has no description. | |
| Protected | procedure setname(const Value: string); virtual; |
|
This item has no description. | |
| Protected | function gethandle: fontnumty; virtual; |
|
This item has no description. | |
| Protected | function getdatapo: pfontdataty; |
|
This item has no description. | |
| Protected | procedure assignproperties(const source: tfont; const ahandles: boolean); virtual; |
|
This item has no description. | |
| Protected | procedure defineproperties(filer: tfiler); override; |
|
This item has no description. | |
| Protected | procedure settemplateinfo(const ainfo: basefontinfoty); |
|
This item has no description. | |
| Protected | procedure objectevent(const sender: tobject; const event: objecteventty); override; |
|
This item has no description. | |
| Protected | function isheightstored(): boolean; |
|
This item has no description. | |
| Protected | function iswidthstored(): boolean; |
|
This item has no description. | |
| Protected | function isextraspacestored(): boolean; |
|
This item has no description. | |
| Protected | function isnamestored(): boolean; |
|
This item has no description. | |
| Protected | function ischarsetstored(): boolean; |
|
This item has no description. | |
| Protected | function isoptionsstored(): boolean; |
|
This item has no description. | |
| Public | constructor create; override; |
|
This item has no description. | |
| Public | destructor destroy; override; |
|
This item has no description. | |
| Public | procedure assign(source: tpersistent); override; |
|
This item has no description. | |
| Public | procedure scale(const ascale: real); virtual; |
|
This item has no description. | |
| Public | function gethandleforcanvas(const canvas: tcanvas): fontnumty; |
|
This item has no description. | |
Properties
| Protected | property rotation: real read getrotation write setrotation; |
|
This item has no description. | |
| Public | property handle: fontnumty read gethandle; |
|
This item has no description. | |
| Public | property ascent: integer read getascent; |
|
This item has no description. | |
| Public | property descent: integer read getdescent; |
|
This item has no description. | |
| Public | property glyphheight: integer read getglyphheight; |
|
This item has no description. | |
| Public | property lineheight: integer read getlineheight; |
|
This item has no description. | |
| Public | property linewidth: integer read getlinewidth; |
|
This item has no description. | |
| Public | property caretshift: integer read getcaretshift; |
|
This item has no description. | |
| Public | property onchange: notifyeventty read fonchange write fonchange; |
|
This item has no description. | |
| Public | property bold: boolean read getbold write setbold; |
|
This item has no description. | |
| Public | property italic: boolean read getitalic write setitalic; |
|
This item has no description. | |
| Public | property underline: boolean read getunderline write setunderline; |
|
This item has no description. | |
| Public | property strikeout: boolean read getstrikeout write setstrikeout; |
|
This item has no description. | |
| Public | property heightflo: flo64 read getheightflo write setheightflo; |
|
This item has no description. | |
| Published | property color: colorty read getcolor write setcolor
stored iscolorstored default cl_default; |
|
This item has no description. | |
| Published | property colorbackground: colorty read getcolorbackground
write setcolorbackground stored iscolorbackgroundstored
default cl_default; |
|
This item has no description. | |
| Published | property colorselect: colorty read getcolorselect write setcolorselect
stored iscolorselectstored default cl_default; |
|
This item has no description. | |
| Published | property colorselectbackground: colorty read getcolorselectbackground
write setcolorselectbackground stored iscolorselectbackgroundstored
default cl_default; |
|
This item has no description. | |
| Published | property shadow_color: colorty read getshadow_color write setshadow_color
stored isshadow_colorstored default cl_none; |
|
This item has no description. | |
| Published | property shadow_shiftx: integer read getshadow_shiftx write setshadow_shiftx
stored isshadow_shiftxstored default 1; |
|
This item has no description. | |
| Published | property shadow_shifty: integer read getshadow_shifty write setshadow_shifty
stored isshadow_shiftystored default 1; |
|
This item has no description. | |
| Published | property gloss_color: colorty read getgloss_color
write setgloss_color
stored isgloss_colorstored default cl_none; |
|
This item has no description. | |
| Published | property gloss_shiftx: integer read getgloss_shiftx write setgloss_shiftx
stored isgloss_shiftxstored default -1; |
|
This item has no description. | |
| Published | property gloss_shifty: integer read getgloss_shifty write setgloss_shifty
stored isgloss_shiftystored default -1; |
|
This item has no description. | |
| Published | property grayed_color: colorty read getgrayed_color
write setgrayed_color
stored isgrayed_colorstored default cl_default; |
|
This item has no description. | |
| Published | property grayed_colorshadow: colorty read getgrayed_colorshadow
write setgrayed_colorshadow
stored isgrayed_colorshadowstored default cl_default; |
|
This item has no description. | |
| Published | property grayed_shiftx: integer read getgrayed_shiftx write
setgrayed_shiftx
stored isgrayed_shiftxstored default 1; |
|
This item has no description. | |
| Published | property grayed_shifty: integer read getgrayed_shifty write
setgrayed_shifty
stored isgrayed_shiftystored default 1; |
|
This item has no description. | |
| Published | property height: integer read getheight write setheight
stored isheightstored default 0; |
|
This item has no description. | |
| Published | property width: integer read getwidth write setwidth
stored iswidthstored default 0; |
|
This item has no description. | |
| Published | property extraspace: integer read getextraspace write setextraspace
stored isextraspacestored default 0; |
|
This item has no description. | |
| Published | property style: fontstylesty read getstyle write setstyle
stored isstylestored default []; |
|
This item has no description. | |
| Published | property name: string read getname write setname stored isnamestored; |
|
This item has no description. | |
| Published | property charset: string read getcharset write setcharset
stored ischarsetstored; |
|
This item has no description. | |
| Published | property options: fontoptionsty read getoptions write setoptions
stored isoptionsstored default []; |
|
This item has no description. | |
| Published | property xscale: real read getxscale write setxscale stored isxscalestored; |
|
This item has no description. | |
| Published | property localprops: fontlocalpropsty read flocalprops write setlocalprops; |
|
This item has no description. | |
| Published | property template: tfontcomp read ftemplate write settemplate; |
|
This item has no description. | |
Generated by PasDoc 0.17.0.snapshot.