Table of Contents

Struct FontNameAndSize

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Contains font name and size.

public struct FontNameAndSize

Constructors

FontNameAndSize(string, double)

Initializes a new instance of the FontNameAndSize struct.

Fields

Name

Font name.

Size

Font size.

Properties

Default

Gets FontNameAndSize for the Default.

Methods

SkiaOrDefault(FontNameAndSize)

Returns value if font is SkiaSharp compatible, otherwise returns Default.

Operators

implicit operator FontInfo(FontNameAndSize)

Converts FontNameAndSize to FontInfo.