FontStyleExtensions Class
Namespace: Stride.Graphics.FontAssembly: Stride.Graphics.dll
Extension methods for type FontStyle.
                 System.Object →  
                FontStyleExtensions
              
              
                 Derived from FontStyleExtensions: 
              
              
              
public static class FontStyleExtensions
              | Name | Description | |
|---|---|---|
| Methods | ||
| IsBold(FontStyle) | Indicate if the style is bold (partially bold).  | 
                          |
| IsItalic(FontStyle) | Indicate if the style is italic (partially italic).  | 
                          |
Methods
IsBold(FontStyle)
Indicate if the style is bold (partially bold).
public static bool IsBold(this FontStyle style)
              Parameters
| Type | Name | Description | 
|---|---|---|
| FontStyle | style | the style  | 
                  
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
IsItalic(FontStyle)
Indicate if the style is italic (partially italic).
public static bool IsItalic(this FontStyle style)
              Parameters
| Type | Name | Description | 
|---|---|---|
| FontStyle | style | the style  | 
                  
Returns
| Type | Description | 
|---|---|
| System.Boolean |