Table of Contents

Class FontStyleExtensions

Namespace
Stride.Graphics.Font
Assembly
Stride.Graphics.dll

Extension methods for type FontStyle.

public static class FontStyleExtensions
Inheritance
FontStyleExtensions

Methods

IsBold(FontStyle)

Indicate if the style is bold (partially bold).

public static bool IsBold(this FontStyle style)

Parameters

style FontStyle

the style

Returns

bool

true if bold, false otherwise

IsItalic(FontStyle)

Indicate if the style is italic (partially italic).

public static bool IsItalic(this FontStyle style)

Parameters

style FontStyle

the style

Returns

bool

true if italic, false otherwise