Package org.oscim.theme.rule
Class Rule
java.lang.Object
org.oscim.theme.rule.Rule
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionfinal classfinal classstatic classfinal classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intstatic final Rule[]static final RenderStyle[]final booleanfinal booleanfinal RenderStyle[]final Rule[]final int -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic RuleBuilderbuilder()voiddispose()booleanmatchElement(int type, Tag[] tags, int zoomLevel, List<RenderStyle> result) booleanmatchesTags(Tag[] tags) voidscaleTextSize(float scaleFactor) void
-
Field Details
-
EMPTY_STYLE
-
EMPTY_RULES
-
subRules
-
styles
-
cat
-
zoom
public final int zoom -
element
public final int element -
selectFirstMatch
public final boolean selectFirstMatch -
selectWhenMatched
public final boolean selectWhenMatched
-
-
Method Details
-
matchesTags
-
matchElement
-
dispose
public void dispose() -
scaleTextSize
public void scaleTextSize(float scaleFactor) -
setCat
-
updateStyles
public void updateStyles() -
apply
-
builder
-