SetDecoration 指令

来自GeoGebra Manual
Nuhero讨论 | 贡献2024年1月4日 (四) 04:07的版本
跳转至: 导航搜索
Accessories dictionary.png
本頁為官方文件,一般使用者無法修改,若有任何誤謬,請與官方聯絡。如欲編輯,請至本頁的開放版


SetDecoration( <物件>, <數值> )
設定 <物件> 的裝飾(也可在物件的屬性視窗樣式分頁進行設定)。<物件> 必須是一個角度、一條線段,或一個可填滿的物件。指令中的第二個引數 <數值> 是裝飾或填滿樣式的數值代碼,如下表。
數值 線段裝飾 角度裝飾 填滿樣式
0 移除裝飾 移除裝飾 標準
1 一短線 二弧線 斜線
2 二短線 三弧線 斜格線
3 三短線 一短線 棋盤
4 一箭頭 二短線 小點點
5 二箭頭 三短線 蜂巢
6 三箭頭 順時針箭頭 磚塊
7 (無) 逆時針箭頭 編織


SetDecoration(<線段>, <數值>, <數值>)
Sets the aspect of the line start and end of a segment. In order to view the decoration, it's necessary to hide the two points that define the vertices of the segment. The segment decoration can also be set in the Style tab of the Properties window of the segment. The first number used as command parameter defines the style of the line segment start, and the second number sets the style of the line segment end, as described in the following table.
Value Decoration
0 No decoration
1 vertical bar
2 empty square
3 filled square
4 arrow
5 filled arrow
6 empty dot
7 filled dot
© 2024 International GeoGebra Institute