Interface ILineRule
A style rule for the line geometry type
Namespace: OSGeo.MapGuide.ObjectModels.LayerDefinition
Assembly: OSGeo.MapGuide.ObjectModels.dll
Syntax
public interface ILineRule : IBasicVectorRule, IVectorRule
Properties
| Improve this Doc View SourceStrokeCount
Gets the number of strokes in this line rule
Declaration
int StrokeCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Strokes
Gets the symbolization settings for this line rule
Declaration
IEnumerable<IStroke> Strokes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IStroke> |
Methods
| Improve this Doc View SourceAddStroke(IStroke)
Adds a stroke to this rule
Declaration
void AddStroke(IStroke stroke)
Parameters
Type | Name | Description |
---|---|---|
IStroke | stroke |
RemoveStroke(IStroke)
Removes a stroke from this rule
Declaration
void RemoveStroke(IStroke stroke)
Parameters
Type | Name | Description |
---|---|---|
IStroke | stroke |
SetStrokes(IEnumerable<IStroke>)
Removes any existing strokes and adds the specified list of strokes
Declaration
void SetStrokes(IEnumerable<IStroke> strokes)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IStroke> | strokes |