Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    FontStyleExtensions Class

    Namespace: Stride.Graphics.Font
    Assembly: 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).

    | Improve this Doc View Source

    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

    true if bold, false otherwise


    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

    true if italic, false otherwise


    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation