Package | Description |
---|---|
com.luciad.text |
Text related functionality.
|
Modifier and Type | Method and Description |
---|---|
TextStyle.Builder |
TextStyle.asBuilder()
|
TextStyle.Builder |
TextStyle.Builder.fontName(String fontName)
Sets the font name used for text rendering (possible values: Serif, Sans, Arial, Arial Black, Arial Narrow, Calibri, Console, Noto).
|
TextStyle.Builder |
TextStyle.Builder.fontSize(long fontSize)
Sets the font size in pixels , where a pixel is defined as 1/96th of 1 inch (https://www.w3.org/TR/css-values-4/#absolute-lengths).
|
TextStyle.Builder |
TextStyle.Builder.haloColor(android.graphics.Color haloColor)
Sets the color of the halo (outline) around the text.
|
TextStyle.Builder |
TextStyle.Builder.haloWidth(double haloWidth)
Sets the width of the halo (outline) around the text in pixels.
|
static TextStyle.Builder |
TextStyle.newBuilder()
Creates a new builder for creating a
TextStyle . |
TextStyle.Builder |
TextStyle.Builder.textColor(android.graphics.Color textColor)
Sets the text color.
|
Constructor and Description |
---|
Builder(TextStyle.Builder other) |