您可以更改元素颜色,方法是将任意颜色分配关键字设置为一个整数值,其中,整数为 0 到 255 范围内的颜色索引。每个颜色索引代表激活色表中的一种颜色。
语法:
color = integer
boundary_color = integer
fill_color = integer
例如,要将级别 3 的线条颜色更改为颜色索引 2,可以编写以下设计脚本:
!
! Change the color of all lines on level 3
! to color index 2.
!
if ((type eq line) and (level eq 3)) then
color = 2
endif