ChartDirector 6.0 (Ruby Edition)
AngularMeter.addGlare
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
radius | NoValue | The radius of the face of the meter. The default is the meter scale radius as set by AngularMeter.setMeter. |
span | 135 | The angular span of the arc that divides the face into two parts. The dividing arc intersects with the face border at two points. The angular span is defined as center angle of these two points (that is, the angle subtended at the meter center by these two points). |
rotate | 0 | By default, the glare will be symmetrically with respect to the vertical axis. This argument can be used to rotate the glare clockwise in degrees. |
glareRadius | NoValue | The radius of the arc that divides the face into two parts. A positive value means the arc will result in a convex glare, while a negative means concave glare. The default is equal to 1.5 times of the face radius. |
intensity | 0.13 | The intensity of the glare, which must be from 0 to 1. A value of 0 means no glare, while a value of 1 means the glare will be 100% white. |
Return Value