Show / Hide Table of Contents

    Class Style

    Defines a style used for rendering vector data

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

    Constructors

    | Improve this Doc View Source

    Style()

    Declaration
    public Style()

    Properties

    | Improve this Doc 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
    System.Boolean
    | Improve this Doc 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
    System.Double
    | Improve this Doc 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
    System.Double
    | Improve this Doc View Source

    Opacity

    Gets or sets the objects base opacity

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

    Methods

    | Improve this Doc View Source

    Equals(Style)

    Declaration
    public bool Equals(Style style)
    Parameters
    Type Name Description
    Style style
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    Operators

    | Improve this Doc View Source

    Equality(Style, Style)

    Declaration
    public static bool operator ==(Style style1, Style style2)
    Parameters
    Type Name Description
    Style style1
    Style style2
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Inequality(Style, Style)

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

    Implements

    IStyle
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX