Search Results for

    Show / Hide Table of Contents

    Class Style

    Defines a style used for rendering vector data

    Inheritance
    object
    Style
    LabelStyle
    GradientTheme
    ThemeStyle
    VectorStyle
    Implements
    IStyle
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Styles
    Assembly: Mapsui.dll
    Syntax
    public class Style : IStyle

    Constructors

    | Edit this page View Source

    Style()

    Declaration
    public Style()

    Properties

    | Edit this page View Source

    Enabled

    Gets or sets whether objects in this style is rendered or not

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

    MaxVisible

    Gets or sets the maximum zoom value where the style is applied

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

    MinVisible

    Gets or sets the minimum zoom value where the style is applied

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

    Opacity

    Gets or sets the objects base opacity

    Declaration
    public float Opacity { get; set; }
    Property Value
    Type Description
    float

    Methods

    | Edit this page View Source

    Equals(Style?)

    Declaration
    public bool Equals(Style? style)
    Parameters
    Type Name Description
    Style style
    Returns
    Type Description
    bool
    | Edit this page View Source

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    Operators

    | Edit this page View Source

    operator ==(Style?, Style?)

    Declaration
    public static bool operator ==(Style? style1, Style? style2)
    Parameters
    Type Name Description
    Style style1
    Style style2
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator !=(Style?, Style?)

    Declaration
    public static bool operator !=(Style? style1, Style? style2)
    Parameters
    Type Name Description
    Style style1
    Style style2
    Returns
    Type Description
    bool

    Implements

    IStyle

    Extension Methods

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