public class DotLabelBuilder.FontBuilder extends Object
| Constructor and Description |
|---|
FontBuilder() |
| Modifier and Type | Method and Description |
|---|---|
DotLabelBuilder.FontBuilder |
color(String color)
Set the font color.
|
DotLabelBuilder.FontBuilder |
name(String font)
Set the font name.
|
DotLabelBuilder.FontBuilder |
size(int size)
Set the font size.
|
DotLabelBuilder.FontBuilder |
size(Integer size)
Set the font size.
|
DotLabelBuilder |
text(String text)
Add the given text.
|
public DotLabelBuilder.FontBuilder color(String color)
color - Color.public DotLabelBuilder.FontBuilder size(int size)
size - Size.public DotLabelBuilder.FontBuilder size(Integer size)
size - Size.public DotLabelBuilder.FontBuilder name(String font)
font - Font name.public DotLabelBuilder text(String text)
text - Text.Copyright © 2017. All rights reserved.