Search Results for

    Show / Hide Table of Contents

    Class Font

    Inheritance
    object
    Font
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Mapsui.Styles
    Assembly: Mapsui.dll
    Syntax
    public class Font

    Constructors

    | Edit this page View Source

    Font()

    Declaration
    public Font()
    | Edit this page View Source

    Font(Font)

    Declaration
    public Font(Font font)
    Parameters
    Type Name Description
    Font font

    Properties

    | Edit this page View Source

    Bold

    Declaration
    public bool Bold { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    FontFamily

    Declaration
    public string? FontFamily { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Invalidated

    Declaration
    [Obsolete("There is no need to indicate invalidation", true)]
    public bool Invalidated { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Italic

    Declaration
    public bool Italic { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Size

    Declaration
    public double Size { get; set; }
    Property Value
    Type Description
    double

    Methods

    | Edit this page View Source

    Equals(Font)

    Declaration
    protected bool Equals(Font other)
    Parameters
    Type Name Description
    Font other
    Returns
    Type Description
    bool
    | Edit this page View Source

    Equals(object?)

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

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    Overrides
    object.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    Overrides
    object.GetHashCode()
    | Edit this page View Source

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    object.ToString()

    Extension Methods

    DisposableExtension.DisposeIfDisposable(object?)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX