com.nchart3d.NChart.NChartLabel Class Reference
The NChartLabel class provides methods to display text on the chart. More...
Inheritance diagram for com.nchart3d.NChart.NChartLabel:
Public Member Functions | |
NChartFont | getFont () |
Font of the label's text. | |
void | setFont (NChartFont font) |
For details see getFont(). | |
int | getTextColor () |
Color of the label's text. | |
void | setTextColor (int textColor) |
For details see getTextColor(). | |
String | getText () |
Text to display in the label. | |
void | setText (String text) |
For details see getText(). | |
NChartLineBreakMode | getTextWrapping () |
Wrapping mode of the label's text. | |
void | setTextWrapping (NChartLineBreakMode textWrapping) |
For details see getTextWrapping(). | |
float | getMaxWidth () |
Maximal width of the label's text in pixels. More... | |
Paint.Align | getTextAlignment () |
Alignment of the label's text. More... | |
void | setTextAlignment (Paint.Align textAlignment) |
For details see getTextAlignment(). | |
void | setMaxWidth (float maxWidth) |
For details see getMaxWidth(). | |
Public Member Functions inherited from com.nchart3d.NChart.NChartPlaced | |
NChartBrush | getBackground () |
Brush filling the background of the text container. More... | |
void | setBackground (NChartBrush background) |
For details see getBackground(). | |
int | getBorderColor () |
Color of the border that is drawn around the text container. | |
void | setBorderColor (int borderColor) |
For details see getBorderColor(). | |
float | getBorderRadius () |
Corner rounding radius (in pixels) of the border that is drawn around the text container. | |
void | setBorderRadius (float borderRadius) |
For details see getBorderRadius(). | |
float | getBorderThickness () |
Thickness of the border (in pixels) that is drawn around the text container. | |
void | setBorderThickness (float borderThickness) |
For details see getBorderThickness(). | |
NChartMargin | getMargin () |
Margin of the text container in pixels (spacing from the bounds of the enclosing area). | |
void | setMargin (NChartMargin margin) |
For details see getMargin(). | |
NChartMargin | getPadding () |
Padding of the text container in pixels (spacing to sub-areas). | |
void | setPadding (NChartMargin padding) |
For details see getPadding(). | |
float | getOpacity () |
Opacity of the text container. More... | |
void | setOpacity (float opacity) |
For details see getOpacity(). | |
Public Member Functions inherited from com.nchart3d.NChart.NChartObject | |
boolean | isVisible () |
Flag that determines if the object is visible or not. More... | |
void | setVisible (boolean visible) |
For details see isVisible(). | |
NChart | getChart () |
Chart the object belongs to. More... | |
Detailed Description
The NChartLabel class provides methods to display text on the chart.
Member Function Documentation
|
inline |
Maximal width of the label's text in pixels.
If the text is bigger than the given size, lines will be broken according to the wrapping mode. If 0, this option is ignored. The default value is 0.
|
inline |
Alignment of the label's text.
- See also
- android.graphics.Paint.Align