“SetBackgroundColor 指令”的版本间的差异
来自GeoGebra Manual
Pegasusroe(讨论 | 贡献) (以“<noinclude>{{Manual Page|version=4.0}}</noinclude> {{Translate|SetBackgroundColor}} {{command|scripting}} ;SetBackgroundColor[ <Object>, <Red>, <Green>, <Blue> ] ...”为内容创建页面) |
Pegasusroe(讨论 | 贡献) |
||
第1行: | 第1行: | ||
<noinclude>{{Manual Page|version=4.0}}</noinclude> | <noinclude>{{Manual Page|version=4.0}}</noinclude> | ||
− | |||
{{command|scripting}} | {{command|scripting}} | ||
− | ;SetBackgroundColor[ | + | ;SetBackgroundColor[ 物件, 紅色值, 綠色值, 藍色值 ] |
− | : | + | : 此指令用於改變物件的背景色,可用於「文字」物件或試算表中的「儲存格」。其中「紅、綠、藍」的色值均介於 0 與 1 之間,不在此範圍內的值,則由函數 <math>2\left|\frac{t}2-\mathrm round\left(\frac{t}2\right)\right|</math> 轉換。 |
− | ;SetBackgroundColor[ | + | ;SetBackgroundColor[ 物件, 顏色名 ] |
− | : | + | : 利用顏色名稱改變物件的背景色,可用的顏色名稱請參考「[[ 參考:顏色| 顏色]] 」列表。 |
+ | |||
+ | : 以下為一些常用的顏色關鍵字: | ||
{{TableOfColors}} | {{TableOfColors}} |
2012年6月25日 (一) 03:41的版本
本頁為官方文件,一般使用者無法修改,若有任何誤謬,請與官方聯絡。如欲編輯,請至本頁的開放版。
- SetBackgroundColor[ 物件, 紅色值, 綠色值, 藍色值 ]
- 此指令用於改變物件的背景色,可用於「文字」物件或試算表中的「儲存格」。其中「紅、綠、藍」的色值均介於 0 與 1 之間,不在此範圍內的值,則由函數 2\left|\frac{t}2-\mathrm round\left(\frac{t}2\right)\right| 轉換。
- SetBackgroundColor[ 物件, 顏色名 ]
- 利用顏色名稱改變物件的背景色,可用的顏色名稱請參考「顏色」列表。
- 以下為一些常用的顏色關鍵字:
- Black
- Dark Gray
- Gray
- Dark Blue
- Blue
- Dark Green
- Green
- Maroon
- Crimson
- Red
- Magenta
- Indigo
- Purple
- Brown
- Orange
- Gold
- Lime
- Cyan
- Turquoise
- Light Blue
- Aqua
- Silver
- Light Gray
- Pink
- Violet
- Yellow
- Light Yellow
- Light Orange
- Light Violet
- Light Purple
- Light Green
- White