Rule class abstract
- Implemented types
Constructors
-
Rule({String? cat, required ZoomlevelRange zoomlevelRange, required List<
Rule> subRules, required List<RenderinstructionNode> renderinstructionNodes, required List<RenderinstructionWay> renderinstructionOpenWays, required List<RenderinstructionWay> renderinstructionClosedWays})
Properties
- cat → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- parent ↔ Rule?
-
latefinal
-
renderinstructionClosedWays
→ List<
RenderinstructionWay> -
final
-
renderinstructionNodes
→ List<
RenderinstructionNode> -
final
-
renderinstructionOpenWays
→ List<
RenderinstructionWay> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subRules
→ List<
Rule> -
final
- zoomlevelRange → ZoomlevelRange
-
final
Methods
-
apply(
RuleVisitor v) → void -
forZoomlevel(
int zoomlevel, int Function()) → Rule? -
getZoomlevelRangeClosedWay(
TagCollection tags) → ZoomlevelRange? - Returns the widest possible zoomrange which may accept the given argument. Returns null if if the argument will never accepted.
-
getZoomlevelRangeNode(
PointOfInterest pointOfInterest) → ZoomlevelRange? - Returns the widest possible zoomrange which may accept the given argument. Returns null if if the argument will never accepted.
-
getZoomlevelRangeOpenWay(
TagCollection tags) → ZoomlevelRange? - Returns the widest possible zoomrange which may accept the given argument. Returns null if if the argument will never accepted.
-
matchClosedWay(
Way way, Tile tile, List< Renderinstruction> matchingList) → void -
matches(
TagCollection tags, int indoorLevel) → bool - Returns true if the rule matches the given tags and inddor level
-
matchesForZoomLevel(
int zoomLevel) → bool - Returns true if this rule can be applied for the given zoomLevel.
-
matchesTags(
TagCollection tags) → bool - Checks the tags if the rule matches, does NOT take the indoorLevel into account.
-
matchNode(
int indoorLevel, List< Renderinstruction> matchingList, PointOfInterest pointOfInterest) → void -
matchOpenWay(
Way way, Tile tile, List< Renderinstruction> matchingList) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onComplete(
) → void -
searchForSymbolBoundary(
String id) → MapRectangle? -
Searches for the boundary of a symbol denoted by the given
id. Returns null if the symbol is not found.override -
secondPass(
) → void -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited