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

来自GeoGebra Manual
跳转至: 导航搜索
 
第10行: 第10行:
 
|-
 
|-
 
|0
 
|0
| 移除 裝飾
+
| 裝飾
| 移除 裝飾
+
| 裝飾
 
|標準
 
|標準
 
|-
 
|-
第41行: 第41行:
 
|6
 
|6
 
|三箭頭
 
|三箭頭
| 時針箭頭
+
| 時針箭頭
 
|磚塊
 
|磚塊
 
|-
 
|-
 
|7
 
|7
 
|(無)
 
|(無)
| 時針箭頭
+
| 時針箭頭
 
|編織
 
|編織
 
|}
 
|}
第52行: 第52行:
  
 
;SetDecoration(<線段>, <數值>, <數值>)
 
;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.
+
: 設定 <線段> 的起點和終點樣式。可先將定義線段的兩端點隱藏,才能清楚地看到裝飾。線段裝飾也可以在''' 屬性''' 視窗''' 樣式'''分頁進行設定。第一個 <數值> 作為指令參數定義此 <線段> 的起點樣式,而第二個 <數值> 則是設定終點樣式,如下表。
  
 
:{| class=pretty
 
:{| class=pretty
!Value
+
! 數值
!Decoration
+
! 裝飾
 
|-
 
|-
 
|0
 
|0
|No decoration
+
| 無裝飾
 
|-
 
|-
 
|1
 
|1
|vertical bar
+
| 垂直短線
 
|-
 
|-
 
|2
 
|2
|empty square
+
| 空心方格
 
|-
 
|-
 
|3
 
|3
|filled square
+
| 實心方格
 
|-
 
|-
 
|4
 
|4
|arrow
+
| 箭頭
 
|-
 
|-
 
|5
 
|5
|filled arrow
+
| 實心箭頭
 
|-
 
|-
 
|6
 
|6
|empty dot
+
| 空心圓點
 
|-
 
|-
 
|7
 
|7
|filled dot
+
| 實心圓點
 
|}
 
|}

2024年1月4日 (四) 04:23的最新版本

Accessories dictionary.png
本页为官方文件,一般使用者无法修改,若有任何误谬,请与官方联络。如欲编辑,请至本页的开放版


SetDecoration( <物件>, <数值> )
设定 <物件> 的装饰(也可在物件的属性视窗样式分页进行设定)。<物件> 必须是一个角度、一条线段,或一个可填满的物件。指令中的第二个引数 <数值> 是装饰或填满样式的数值代码,如下表。
数值 线段装饰 角度装饰 填满样式
0 无装饰 无装饰 标准
1 一短线 二弧线 斜线
2 二短线 三弧线 斜格线
3 三短线 一短线 棋盘
4 一箭头 二短线 小点点
5 二箭头 三短线 蜂巢
6 三箭头 逆时针箭头 砖块
7 (无) 顺时针箭头 编织


SetDecoration(<线段>, <数值>, <数值>)
设定 <线段> 的起点和终点样式。可先将定义线段的两端点隐藏,才能清楚地看到装饰。线段装饰也可以在属性视窗样式分页进行设定。第一个 <数值> 作为指令参数定义此 <线段> 的起点样式,而第二个 <数值> 则是设定终点样式,如下表。
数值 装饰
0 无装饰
1 垂直短线
2 空心方格
3 实心方格
4 箭头
5 实心箭头
6 空心圆点
7 实心圆点
© 2024 International GeoGebra Institute