Package dev.avelar.mapnik
Class TextFormat
java.lang.Object
dev.avelar.mapnik.TextFormat
One run of text in a label, with its own font, size and colours, so a label can mix styles:
a bold name followed by a smaller grey population. Give a few to
Symbolizer.formattedText(dev.avelar.mapnik.TextFormat...).
The expression is in Mapnik's expression language, for example "[name]".-
Method Summary
Modifier and TypeMethodDescriptionSet any attribute of a<Format>element.characterSpacing(double pixels) fontSize(double size) lineSpacing(double pixels) static TextFormattextTransform(String transform) none,uppercase,lowercaseorcapitalize.toString()toXml()