Class Rule
Contents
[
Hide
]Rule class
A user-defined rule for RuleBasedSymbolizer
.
public class Rule
Properties
Name | Description |
---|---|
Filter { get; } | Determines if “filter-rule” should apply symbolizer to the feature. If returns true symbolizer is used; otherwise, feature is skipped. |
IsElseRule { get; } | Gets a value indicating whether this rule is “else-rule”. |
IsFilterRule { get; } | Gets a value indicating whether this rule is “filter-rule”. |
Symbolizer { get; } | Symbolizer to apply to the feature. |
Methods
Name | Description |
---|---|
static CreateElseRule(VectorSymbolizer) | Creates new rule that applies a symbolizer to feature whenever it doesn’t match any filter rule. |
static CreateFilterRule(Func<Feature, bool>, VectorSymbolizer) | Creates new rule that applies a symbolizer to feature whenever it passes filter. |
See Also
- namespace Aspose.Gis.Rendering.Symbolizers
- assembly Aspose.GIS