|
发表于 2005-5-4 13:09:26
|
显示全部楼层
#ButtonStyle 2 4 25x25@3 75x75@3 25x75@4 75x25@3
#ButtonStyle 4 5 30x30@1 30x70@3 70x70@3 70x30@3 30x30@3
#ButtonStyle 6 2 30x70@1 70x70@3
#ButtonStyle 1 4 50x25@3 35x50@3 65x50@3 50x75@3
The Vector num X[offsetp]xY[offsetp]@C ... style draws a line pattern. Since this is a standard button style, the keyword Vector is optional, num is a number of point specifications of the form X[offsetp]xY[offsetp]@C ... X and Y are point coordinates inside the button, given in percents (from 0 to 100). An optional absolute offset in pixels, can be given as "+<offset>p" for a positive or "-<offset>p" for a negative offset.
C specifies a line color (0 - the shadow color, 1 - the highlight color, 2 - the background color, 3 - the foreground color, 4 - only move the point, do not draw). The first point color is not used. You can use up to 10000 points in a line pattern. This style is partially destructive. |
|