Search Results for

    Show / Hide Table of Contents

    Class ColorExtensions

    Inheritance
    object
    ColorExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.UI.Forms.Extensions
    Assembly: Mapsui.UI.Forms.dll
    Syntax
    public static class ColorExtensions

    Methods

    | Edit this page View Source

    ToForms(Color)

    Convert Mapsui.Styles.Color to Xamarin.Forms.Color

    Declaration
    public static Color ToForms(this Color color)
    Parameters
    Type Name Description
    Color color

    Color in Mapsui format

    Returns
    Type Description
    Color

    Color in Xamarin.Forms.Maps format

    | Edit this page View Source

    ToMapsui(Color)

    Convert Xamarin.Forms.Color to Mapsui.Style.Color

    Declaration
    public static Color ToMapsui(this Color color)
    Parameters
    Type Name Description
    Color color

    Color in Xamarin.Forms.Color format

    Returns
    Type Description
    Color

    Color in Mapsui.Styles.Color format

    | Edit this page View Source

    ToNative(Color)

    Declaration
    public static Color ToNative(this Color color)
    Parameters
    Type Name Description
    Color color
    Returns
    Type Description
    Color
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX