![]() |
AirControl
1.3.0
Open Source, Modular, and Extensible Flight Simulator For Deep Learning Research
|
Theme. 主题相关配置。 More...
Public Member Functions | |
void | SetDefaultFont () |
Color32 | GetColor (int index) |
Gets the color of the specified index from the palette. 获得调色盘对应系列索引的颜色值。 More... | |
void | SetColorPalette (List< Color32 > colorList) |
void | SetColorPalette (List< string > hexColorStringList) |
void | CheckWarning (StringBuilder sb) |
string | GetColorStr (int index) |
Gets the hexadecimal color string of the specified index from the palette. 获得指定索引的十六进制颜色值字符串。 More... | |
void | CopyTheme (Theme theme) |
void | CopyTheme (ChartTheme theme) |
copy all configurations from theme. 复制主题的所有配置。 More... | |
void | ResetTheme () |
Clear all custom configurations. 重置,清除所有自定义配置。 More... | |
ChartTheme | CloneTheme () |
克隆主题。 More... | |
void | SyncFontName () |
void | SyncFontToSubComponent () |
override int | GetHashCode () |
![]() | |
virtual void | SetVerticesDirty () |
virtual void | ClearVerticesDirty () |
virtual void | SetComponentDirty () |
virtual void | ClearComponentDirty () |
virtual void | ClearDirty () |
virtual void | SetAllDirty () |
Static Public Member Functions | |
static Color32 | GetColor (string hexColorStr) |
Convert the html string to color. 将字符串颜色值转成Color。 More... | |
Properties | |
Theme | theme [get, set] |
the theme of chart. 主题类型。 More... | |
string | themeName [get, set] |
Color32 | contrastColor [get, set] |
the contrast color of chart. 对比色。 More... | |
Color32 | backgroundColor [get, set] |
the background color of chart. 背景颜色。 More... | |
string | fontName [get, set] |
int | fontInstanceId [get, set] |
string | tmpFontName [get, set] |
int | tmpFontInstanceId [get, set] |
List< Color32 > | colorPalette [get, set] |
The color list of palette. If no color is set in series, the colors would be adopted sequentially and circularly from this list as the colors of series. 调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。 More... | |
ComponentTheme | common [get, set] |
TitleTheme | title [get, set] |
SubTitleTheme | subTitle [get, set] |
LegendTheme | legend [get, set] |
AxisTheme | axis [get, set] |
RadiusAxisTheme | radiusAxis [get, set] |
AngleAxisTheme | angleAxis [get, set] |
PolarAxisTheme | polar [get, set] |
GaugeAxisTheme | gauge [get, set] |
RadarAxisTheme | radar [get, set] |
TooltipTheme | tooltip [get, set] |
DataZoomTheme | dataZoom [get, set] |
VisualMapTheme | visualMap [get, set] |
SerieTheme | serie [get, set] |
Font | font [get, set] |
the font of chart text。 字体。 More... | |
static ChartTheme | Default [get] |
default theme. 默认主题。 More... | |
static ChartTheme | Light [get] |
light theme. 亮主题。 More... | |
static ChartTheme | Dark [get] |
dark theme. 暗主题。 More... | |
static ChartTheme | EmptyTheme [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] |
Additional Inherited Members | |
![]() | |
bool | m_VertsDirty |
bool | m_ComponentDirty |
Painter | m_Painter |
Theme. 主题相关配置。
Definition at line 46 of file ChartTheme.cs.
|
inline |
|
inline |
copy all configurations from theme. 复制主题的所有配置。
theme |
Definition at line 310 of file ChartTheme.cs.
|
inline |
Gets the color of the specified index from the palette. 获得调色盘对应系列索引的颜色值。
index | 编号索引 |
Definition at line 221 of file ChartTheme.cs.
|
inlinestatic |
Convert the html string to color. 将字符串颜色值转成Color。
hexColorStr |
Definition at line 572 of file ChartTheme.cs.
|
inline |
Gets the hexadecimal color string of the specified index from the palette. 获得指定索引的十六进制颜色值字符串。
index |
Definition at line 274 of file ChartTheme.cs.
|
inline |
|
getset |
the background color of chart. 背景颜色。
Definition at line 118 of file ChartTheme.cs.
|
getset |
The color list of palette. If no color is set in series, the colors would be adopted sequentially and circularly from this list as the colors of series. 调色盘颜色列表。如果系列没有设置颜色,则会依次循环从该列表中取颜色作为系列颜色。
Definition at line 148 of file ChartTheme.cs.
|
getset |
the contrast color of chart. 对比色。
Definition at line 109 of file ChartTheme.cs.
|
staticget |
|
staticget |
|
getset |
the font of chart text。 字体。
Definition at line 189 of file ChartTheme.cs.
|
staticget |
|
getset |
the theme of chart. 主题类型。
Definition at line 93 of file ChartTheme.cs.