“SetBackgroundColor 指令”的版本间的差异

来自GeoGebra Manual
跳转至: 导航搜索
(以“<noinclude>{{Manual Page|version=4.0}}</noinclude> {{Translate|SetBackgroundColor}} {{command|scripting}} ;SetBackgroundColor[ <Object>, <Red>, <Green>, <Blue> ] ...”为内容创建页面)
 
第1行: 第1行:
 
<noinclude>{{Manual Page|version=4.0}}</noinclude>
 
<noinclude>{{Manual Page|version=4.0}}</noinclude>
{{Translate|SetBackgroundColor}}
 
 
{{command|scripting}}
 
{{command|scripting}}
;SetBackgroundColor[ <Object>, <Red>, <Green>, <Blue> ]
+
;SetBackgroundColor[ 物件, 紅色值, 綠色值, 藍色值 ]
  
:Changes the background color of given object. This is used for Texts and for objects in the Spreadsheet. The red, green and blue represent amount of corresponding color component, 0 being minimum and 1 maximum. Number ''t'' exceeding this interval is mapped to it using function <math>2\left|\frac{t}2-\mathrm round\left(\frac{t}2\right)\right|</math>.
+
: 此指令用於改變物件的背景色,可用於「文字」物件或試算表中的「儲存格」。其中「紅、綠、藍」的色值均介於 0 1 之間,不在此範圍內的值,則由函數 <math>2\left|\frac{t}2-\mathrm round\left(\frac{t}2\right)\right|</math> 轉換。
  
;SetBackgroundColor[ <Object>, "color" ]
+
;SetBackgroundColor[ 物件, 顏色名 ]
  
:Changes the background color of given object. This is used for Texts and for objects in the Spreadsheet. The color is entered as [[Texts|text]]. The command accepts more than a hundred English color names (see [[Reference:Colors]]). Some of them can be also used in national languages and are listed below.
+
: 利用顏色名稱改變物件的背景色,可用的顏色名稱請參考「[[ 參考:顏色| 顏色]] 」列表。
 +
 
 +
: 以下為一些常用的顏色關鍵字:
 
{{TableOfColors}}
 
{{TableOfColors}}

2012年6月25日 (一) 03:41的版本

Accessories dictionary.png
本頁為官方文件,一般使用者無法修改,若有任何誤謬,請與官方聯絡。如欲編輯,請至本頁的開放版


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
 
© 2024 International GeoGebra Institute