Difference between revisions of "Reference: MSEgui/TFont"

From Free Pascal wiki
Jump to navigationJump to search
Line 32: Line 32:
  
 
[[Image:msegui_font_gloss_shadow.png‎]]
 
[[Image:msegui_font_gloss_shadow.png‎]]
 
  
 
<syntaxhighlight>
 
<syntaxhighlight>
property shadow_color: colorty default cl_none;
+
property Shadow_Solor: colorty default cl_none;
property shadow_shiftx: integer default 1;
+
property Shadow_ShiftX: integer default 1;
property shadow_shifty: integer default 1;
+
property Shadow_ShiftY: integer default 1;
  
property gloss_color: colorty cl_none;
+
property Gloss_Color: colorty cl_none;
property gloss_shiftx: integer -1;
+
property Gloss_ShiftX: integer -1;
property gloss_shifty: integer -1;
+
property Gloss_ShiftY: integer -1;
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 09:26, 15 December 2015

TFont

work in progress

The font of text. Ancestor of classes like TWidgetFont;

Reference

Hierarchy

  • TObject
  • TPersistent
  • TVirtualPersistent
  • TNullInterfacedPersistent
  • TLinkedPersistent
  • TLinkedOptionalPersistent
  • TFont


Properties

Colors

You can specify the Color of the text and it's background color. If you can select text on the widget (for example at TMemoEdit), you can also sepcify the Color of the selected text and it's background color.

msegui font colors.png


Gloss and Shadow

Gloss and shadow both duplicate the character and move the copy the specified number of pixels. By default gloss is left and over the original character, and shadow is right and below it. If you habe both, gloss and shadow, the "layer" of gloss is over the layer of shadow.

msegui font gloss shadow.png

property Shadow_Solor: colorty default cl_none;
property Shadow_ShiftX: integer default 1;
property Shadow_ShiftY: integer default 1;

property Gloss_Color: colorty cl_none;
property Gloss_ShiftX: integer -1;
property Gloss_ShiftY: integer -1;

Methods

Events

known issues

issues of the class

issues of this documentation

Feel free to add your points here.