樣式
5 個節點
本頁內容 5
內建樣式名稱
函數The names of Novella's own styles, which its screens draw with: restyle one by adding a style of the same name.
簽名
內建樣式名稱() -> 文字
string BuiltInStyleNames()
返回
| 名稱 | 文字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 樣式
- 所屬包
- Novella 視覺小說
設定樣式背景
函數A style with its background set to an image source - a Frame Image, a Filtered Image, a Composite Image, a Color Image - for every state or for one.
簽名
設定樣式背景 -> Style Look
樣式: Style Look
背景: Image Source
狀態: 文字StyleLook SetStyleBackground(
StyleLook style,
ImageSource background,
string state = "")參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 樣式 | Style Look | — | The style. |
| 背景 | Image Source | — | What its box is drawn on. |
| 狀態 | 文字 | — | The state it applies in, as for Set Style Property, or empty for all. |
返回
| 樣式 | Style Look |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 樣式
- 所屬包
- Novella 視覺小說
設定樣式屬性
函數A style with a property set, for every state or for one: color, or with the state hover, hover_color.
簽名
設定樣式屬性 -> Style Look
樣式: Style Look
屬性: 文字
值: 文字
狀態: 文字StyleLook SetStyleProperty(
StyleLook style,
string property,
string value,
string state = "")參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 樣式 | Style Look | — | The style. |
| 屬性 | 文字 | — | The property: font, size, color, background, borders, padding, text_align... |
| 值 | 文字 | — | Its value, as a script writes it. |
| 狀態 | 文字 | — | The state it applies in - hover, selected, insensitive, idle, visited, or for a selected element selected_hover, selected_idle or selected_insensitive - or empty for all. |
返回
| 樣式 | Style Look |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 樣式
- 所屬包
- Novella 視覺小說
開始樣式
函數A style with no properties yet.
簽名
開始樣式(名稱: 文字, 父節點: 文字) -> Style Look
StyleLook StartStyle(string name, string parent = "")
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 名稱 | 文字 | — | What screens, characters and other styles name it by; one of Novella's own names restyles that part of the game. |
| 父節點 | 文字 | — | The style it inherits what it does not set from: button, text, frame; empty for none of its own. |
返回
| 樣式 | Style Look |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 樣式
- 所屬包
- Novella 視覺小說
樣式轉為指令碼
函數A style as a script writes it.
簽名
樣式轉為指令碼(樣式: Style Look) -> 文字
string StyleToScript(StyleLook style)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 樣式 | Style Look | — |
返回
| 指令碼 | 文字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 樣式
- 所屬包
- Novella 視覺小說