Search Results for

    Show / Hide Table of Contents

    Class ThemeStyle

    Inheritance
    object
    BaseStyle
    ThemeStyle
    Implements
    IThemeStyle
    IStyle
    Inherited Members
    BaseStyle.MinVisible
    BaseStyle.MaxVisible
    BaseStyle.Enabled
    BaseStyle.Opacity
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Mapsui.Styles.Thematics
    Assembly: Mapsui.dll
    Syntax
    public class ThemeStyle : BaseStyle, IThemeStyle, IStyle

    Constructors

    | Edit this page View Source

    ThemeStyle(Func<IFeature, IStyle?>)

    Declaration
    public ThemeStyle(Func<IFeature, IStyle?> method)
    Parameters
    Type Name Description
    Func<IFeature, IStyle> method
    | Edit this page View Source

    ThemeStyle(Func<IFeature, Viewport, IStyle?>)

    Declaration
    public ThemeStyle(Func<IFeature, Viewport, IStyle?> method)
    Parameters
    Type Name Description
    Func<IFeature, Viewport, IStyle> method

    Methods

    | Edit this page View Source

    GetStyle(IFeature, Viewport)

    Returns the style based on a feature

    Declaration
    public IStyle? GetStyle(IFeature attribute, Viewport viewport)
    Parameters
    Type Name Description
    IFeature attribute
    Viewport viewport
    Returns
    Type Description
    IStyle

    Color

    | 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()

    Implements

    IThemeStyle
    IStyle

    Extension Methods

    StyleExtensions.GetStylesToApply(IStyle?, double)
    StyleExtensions.ShouldBeApplied(IStyle?, double)
    DisposableExtension.DisposeIfDisposable(object?)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX