Share via


FontSource Struct

Definition

Represents a font source with name, weight, and style information.

public value class FontSource : IEquatable<Microsoft::Maui::Graphics::FontSource>
public struct FontSource : IEquatable<Microsoft.Maui.Graphics.FontSource>
type FontSource = struct
Public Structure FontSource
Implements IEquatable(Of FontSource)
Inheritance
FontSource
Implements

Constructors

FontSource(String, Int32, FontStyleType)

Initializes a new instance of the FontSource struct.

Fields

FontStyleType

Gets the font style type.

Name

Gets the font file name or font family name.

Weight

Gets the font weight.

Methods

Equals(FontSource)

Determines whether the specified font source is equal to the current font source.

Equals(Object)

Determines whether the specified object is equal to the current font source.

GetHashCode()

Returns the hash code for this font source.

Operators

Equality(FontSource, FontSource)

Determines whether two specified font sources have the same value.

Inequality(FontSource, FontSource)

Determines whether two specified font sources have different values.

Applies to