Search Results for

    Show / Hide Table of Contents

    Interface IGridColorStyle

    A grid color style

    Namespace: OSGeo.MapGuide.ObjectModels.LayerDefinition
    Assembly: OSGeo.MapGuide.ObjectModels.dll
    Syntax
    public interface IGridColorStyle

    Properties

    | Improve this Doc View Source

    BrightnessFactor

    Gets or sets the brightness factor

    Declaration
    double? BrightnessFactor { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>
    | Improve this Doc View Source

    ColorRule

    Gets the color rules for this style

    Declaration
    IEnumerable<IGridColorRule> ColorRule { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IGridColorRule>
    | Improve this Doc View Source

    ColorRuleCount

    Gets the number of color rules

    Declaration
    int ColorRuleCount { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    ContrastFactor

    Gets or sets the contrast factor

    Declaration
    double? ContrastFactor { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>
    | Improve this Doc View Source

    HillShade

    Gets or sets the hill shade.

    Declaration
    IHillShade HillShade { get; set; }
    Property Value
    Type Description
    IHillShade

    The hill shade.

    | Improve this Doc View Source

    TransparencyColor

    Gets or sets the transparency color. If a pixel color prior to factoring in HillShade is this value then the pixel is transparent

    Declaration
    string TransparencyColor { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    AddColorRule(IGridColorRule)

    Adds a color rule to this style

    Declaration
    void AddColorRule(IGridColorRule rule)
    Parameters
    Type Name Description
    IGridColorRule rule
    | Improve this Doc View Source

    CreateHillShade()

    Creates a default hillshade

    Declaration
    IHillShade CreateHillShade()
    Returns
    Type Description
    IHillShade
    | Improve this Doc View Source

    GetColorRuleAt(Int32)

    Gets the color rule at the specified index

    Declaration
    IGridColorRule GetColorRuleAt(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    IGridColorRule
    | Improve this Doc View Source

    RemoveColorRule(IGridColorRule)

    Removes the specified color rule from this style

    Declaration
    void RemoveColorRule(IGridColorRule rule)
    Parameters
    Type Name Description
    IGridColorRule rule

    Extension Methods

    ExtensionMethods.SetTransparencyColor(IGridColorStyle, Color)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2009 - 2022 Jackie Ng