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