Title component, including main title and subtitle. 标题组件,包含主标题和副标题。
More...
|
override void | ClearComponentDirty () |
|
void | OnChanged () |
|
virtual void | SetVerticesDirty () |
|
virtual void | ClearVerticesDirty () |
|
virtual void | SetComponentDirty () |
|
virtual void | ClearDirty () |
|
virtual void | SetAllDirty () |
|
|
bool | show [get, set] |
| [default:true] Set this to false to prevent the title from showing. 是否显示标题组件。 More...
|
|
string | text [get, set] |
| The main title text, supporting
for newlines. 主标题文本,支持使用
换行。 More...
|
|
TextStyle | textStyle [get, set] |
| The text style of main title. 主标题文本样式。 More...
|
|
string | subText [get, set] |
| Subtitle text, supporting for
for newlines. 副标题文本,支持使用
换行。 More...
|
|
TextStyle | subTextStyle [get, set] |
| The text style of sub title. 副标题文本样式。 More...
|
|
float | itemGap [get, set] |
| [default:8] The gap between the main title and subtitle. 主副标题之间的间距。 More...
|
|
Location | location [get, set] |
| The location of title component. 标题显示位置。 More...
|
|
int | index [get, set] |
|
override bool | vertsDirty [get] |
|
override bool | componentDirty [get] |
|
static Title | defaultTitle [get] |
|
virtual bool | vertsDirty [get] |
| 图表重绘标记。 More...
|
|
virtual bool | componentDirty [get] |
| 组件重新初始化标记。 More...
|
|
bool | anyDirty [get] |
| 需要重绘图表或重新初始化组件。 More...
|
|
Painter | painter [get, set] |
|
Action | refreshComponent [get, set] |
|
GameObject | gameObject [get, set] |
|
|
bool | m_VertsDirty |
|
bool | m_ComponentDirty |
|
Painter | m_Painter |
|
Title component, including main title and subtitle. 标题组件,包含主标题和副标题。
Definition at line 18 of file Title.cs.
◆ itemGap
float XCharts.Title.itemGap |
|
getset |
[default:8] The gap between the main title and subtitle. 主副标题之间的间距。
Definition at line 72 of file Title.cs.
73 get {
return m_ItemGap; }
74 set {
if (PropertyUtil.SetStruct(ref m_ItemGap, value)) SetComponentDirty(); }
◆ location
The location of title component. 标题显示位置。
Definition at line 81 of file Title.cs.
82 get {
return m_Location; }
83 set {
if (PropertyUtil.SetClass(ref m_Location, value)) SetComponentDirty(); }
◆ show
[default:true] Set this to false to prevent the title from showing. 是否显示标题组件。
Definition at line 33 of file Title.cs.
33 {
get {
return m_Show; }
set {
if (PropertyUtil.SetStruct(ref m_Show, value)) SetComponentDirty(); } }
◆ subText
string XCharts.Title.subText |
|
getset |
Subtitle text, supporting for
for newlines. 副标题文本,支持使用
换行。
Definition at line 53 of file Title.cs.
54 get {
return m_SubText; }
55 set {
if (PropertyUtil.SetClass(ref m_SubText, value)) SetComponentDirty(); }
◆ subTextStyle
The text style of sub title. 副标题文本样式。
Definition at line 62 of file Title.cs.
63 get {
return m_SubTextStyle; }
64 set {
if (PropertyUtil.SetClass(ref m_SubTextStyle, value)) SetComponentDirty(); }
◆ text
string XCharts.Title.text |
|
getset |
The main title text, supporting
for newlines. 主标题文本,支持使用
换行。
Definition at line 38 of file Title.cs.
38 {
get {
return m_Text; }
set {
if (PropertyUtil.SetClass(ref m_Text, value)) SetComponentDirty(); } }
◆ textStyle
The text style of main title. 主标题文本样式。
Definition at line 44 of file Title.cs.
45 get {
return m_TextStyle; }
46 set {
if (PropertyUtil.SetClass(ref m_TextStyle, value)) SetComponentDirty(); }
The documentation for this class was generated from the following file: