Rule.create constructor

Rule.create(
  1. Rule oldRule,
  2. List<Rule> subs,
  3. ShapeInstructions shapeInstructions
)

Implementation

Rule.create(Rule oldRule, List<Rule> subs, ShapeInstructions shapeInstructions)
    : cat = oldRule.cat,
      closedMatcher = oldRule.closedMatcher,
      elementMatcher = oldRule.elementMatcher,
      instructions = shapeInstructions,
      subRules = subs,
      zoomlevelRange = oldRule.zoomlevelRange;