LabelingRule Class

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

NameTypeAccessDescription
is_else_ruleboolrGets a value indicating whether this rule is “else-rule”.
is_filter_ruleboolrGets a value indicating whether this rule is “filter-rule”.
labelingLabelingrLabeling to apply to the feature.

Methods

NameDescription
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:

ParameterTypeDescription
labelingLabelingLabeling to apply.

Returns

TypeDescription
LabelingRuleNew LabelingRule object.