NChartFont is an immutable container for three font characteristics: name, style and size.
More...
NChartFont is an immutable container for three font characteristics: name, style and size.
Except size it acts like Android Typeface
class.
- See also
- http://developer.android.com/reference/android/graphics/Typeface.html
com.nchart3d.NChart.NChartFont.NChartFont |
( |
String |
name, |
|
|
int |
style, |
|
|
float |
size |
|
) |
| |
|
inline |
Creates a font with the specified characteristics.
- Parameters
-
name | one of the constants predefined above or any other existing font name |
style | one of the style constants predefined above |
size | font size in density independent points |
com.nchart3d.NChart.NChartFont.NChartFont |
( |
float |
size | ) |
|
|
inline |
Creates system default font with normal style.
- Parameters
-
size | font size in density independent points |
String com.nchart3d.NChart.NChartFont.getName |
( |
| ) |
|
|
inline |
float com.nchart3d.NChart.NChartFont.getSize |
( |
| ) |
|
|
inline |
Font size used in constructor
Read-only field.
- Returns
- font size in density independent points
int com.nchart3d.NChart.NChartFont.getStyle |
( |
| ) |
|
|
inline |
final String com.nchart3d.NChart.NChartFont.FONT_DEFAULT |
|
static |
final String com.nchart3d.NChart.NChartFont.FONT_DEFAULT_BOLD |
|
static |
final String com.nchart3d.NChart.NChartFont.FONT_MONOSPACE |
|
static |
final String com.nchart3d.NChart.NChartFont.FONT_SANS_SERIF |
|
static |
final String com.nchart3d.NChart.NChartFont.FONT_SERIF |
|
static |
final int com.nchart3d.NChart.NChartFont.STYLE_BOLD |
|
static |
final int com.nchart3d.NChart.NChartFont.STYLE_BOLD_ITALIC |
|
static |
final int com.nchart3d.NChart.NChartFont.STYLE_ITALIC |
|
static |
final int com.nchart3d.NChart.NChartFont.STYLE_NORMAL |
|
static |