Méthode | Description | |
---|---|---|
CompareTo ( Object obj ) : int |
Compares this Font with another
|
|
Difference ( |
Replaces the attributes that are equal to null with the attributes of a given font.
|
|
Font ( ) : System |
Constructs a Font.
|
|
Font ( |
Constructs a Font.
|
|
Font ( |
Constructs a Font.
|
|
Font ( |
Constructs a Font.
|
|
Font ( |
Constructs a Font.
|
|
Font ( |
||
Font ( int family ) : System |
Constructs a Font.
|
|
Font ( int family, float size ) : System |
Constructs a Font.
|
|
Font ( int family, float size, int style ) : System |
Constructs a Font.
|
|
Font ( int family, float size, int style, Color color ) : System |
Constructs a Font.
|
|
GetCalculatedBaseFont ( bool specialEncoding ) : |
||
GetCalculatedLeading ( float linespacing ) : float | ||
GetFamilyIndex ( string family ) : int |
Translates a string-value of a certain family into the index that is used for this family in this class.
|
|
GetStyleValue ( string style ) : int |
Translates a string-value of a certain style into the index value is used for this style in this class.
|
|
IsBold ( ) : bool |
checks if this font is Bold.
|
|
IsItalic ( ) : bool |
checks if this font is Bold.
|
|
IsStandardFont ( ) : bool |
Checks if the properties of this font are undefined or null. If so, the standard should be used.
|
|
IsStrikethru ( ) : bool |
checks if the style of this font is STRIKETHRU.
|
|
IsUnderlined ( ) : bool |
checks if this font is underlined.
|
|
SetColor ( int red, int green, int blue ) : void |
Sets the color.
|
|
SetFamily ( String family ) : void |
Sets the family using a String ("Courier", "Helvetica", "Times New Roman", "Symbol" or "ZapfDingbats").
|
|
SetStyle ( String style ) : void |
Sets the style using a String containing one of more of the following values: normal, bold, italic, underline, strike.
|
|
SetStyle ( int style ) : void |
public CompareTo ( Object obj ) : int | ||
obj | Object | the other Font |
Résultat | int |
public Difference ( |
||
font | the font of a bigger element class | |
Résultat |
public Font ( |
||
bf | the external font | |
Résultat | System |
public Font ( |
||
bf | the external font | |
size | float | the size of this font |
Résultat | System |
public Font ( |
||
bf | the external font | |
size | float | the size of this font |
style | int | the style of this font |
Résultat | System |
public Font ( |
||
bf | the external font | |
size | float | the size of this font |
style | int | the style of this font |
color | Color | the Color of this font. |
Résultat | System |
public Font ( int family ) : System | ||
family | int | the family to which this font belongs |
Résultat | System |
public Font ( int family, float size ) : System | ||
family | int | the family to which this font belongs |
size | float | the size of this font |
Résultat | System |
public Font ( int family, float size, int style ) : System | ||
family | int | the family to which this font belongs |
size | float | the size of this font |
style | int | the style of this font |
Résultat | System |
public Font ( int family, float size, int style, Color color ) : System | ||
family | int | the family to which this font belongs |
size | float | the size of this font |
style | int | the style of this font |
color | Color | the Color of this font. |
Résultat | System |
public GetCalculatedBaseFont ( bool specialEncoding ) : |
||
specialEncoding | bool | |
Résultat |
public GetCalculatedLeading ( float linespacing ) : float | ||
linespacing | float | |
Résultat | float |
public static GetFamilyIndex ( string family ) : int | ||
family | string | A string representing a certain font-family |
Résultat | int |
public static GetStyleValue ( string style ) : int | ||
style | string | a string |
Résultat | int |
public SetColor ( int red, int green, int blue ) : void | ||
red | int | the red-value of the new color |
green | int | the green-value of the new color |
blue | int | the blue-value of the new color |
Résultat | void |
public SetFamily ( String family ) : void | ||
family | String | A String representing a certain font-family. |
Résultat | void |
public SetStyle ( String style ) : void | ||
style | String | A String representing a certain style. |
Résultat | void |