LabelingRule Class
Contents
[
Hide
]Summary: A user-defined rule for RuleBasedLabeling.
Module: aspose.gis.rendering.labelings
Full Name: aspose.gis.rendering.labelings.LabelingRule
Aspose.PSD Version: 25.9.0
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| is_else_rule | bool | r | Gets a value indicating whether this rule is “else-rule”. |
| is_filter_rule | bool | r | Gets a value indicating whether this rule is “filter-rule”. |
| labeling | Labeling | r | Labeling to apply to the feature. |
Methods
| Name | Description |
|---|---|
| create_else_rule(labeling) | Creates new rule that applies a labeling to feature whenever it doesn’t match any filter rule. |
Method: create_else_rule(labeling) [static]
create_else_rule(labeling)
Creates new rule that applies a labeling to feature whenever it doesn’t match any filter rule.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| labeling | Labeling | Labeling to apply. |
Returns
| Type | Description |
|---|---|
| LabelingRule | New LabelingRule object. |