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 SourceBrightnessFactor
Gets or sets the brightness factor
Declaration
double? BrightnessFactor { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
ColorRule
Gets the color rules for this style
Declaration
IEnumerable<IGridColorRule> ColorRule { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IGridColorRule> |
ColorRuleCount
Gets the number of color rules
Declaration
int ColorRuleCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ContrastFactor
Gets or sets the contrast factor
Declaration
double? ContrastFactor { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
HillShade
Gets or sets the hill shade.
Declaration
IHillShade HillShade { get; set; }
Property Value
Type | Description |
---|---|
IHillShade | The hill shade. |
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 SourceAddColorRule(IGridColorRule)
Adds a color rule to this style
Declaration
void AddColorRule(IGridColorRule rule)
Parameters
Type | Name | Description |
---|---|---|
IGridColorRule | rule |
CreateHillShade()
Creates a default hillshade
Declaration
IHillShade CreateHillShade()
Returns
Type | Description |
---|---|
IHillShade |
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 |
RemoveColorRule(IGridColorRule)
Removes the specified color rule from this style
Declaration
void RemoveColorRule(IGridColorRule rule)
Parameters
Type | Name | Description |
---|---|---|
IGridColorRule | rule |