A special shading effect that looks like gradient coloring.
This effect is best explained by viewing the examples.
| Example | Description
|
|---|
| Soft Multi-Bar Chart | The bars are shaded using soft lighting effect, with light direction from Top, and raised effect of 4 pixels.
|
| Soft Bar Shading | The bars are shaded using soft lighting effect, with light direction from Left, and raised effect of 4 pixels.
|
| Spline Line Chart | The title is shaded using soft lighting effect, with light direction from Right, and raised effect of 4 pixels.
|
The softLighting method returns an integer representing this effect. The integer can be used as the third argument to
Box.setBackground to apply the effect to
Box objects (including derived objects such as
TextBox objects). It may also be used as the second argument to
Layer.setBorderColor for
BarLayer or
BoxWhiskerLayer objects to apply the effect to bars or boxes.
An integer representing the soft lighting effect.
© 2023 Advanced Software Engineering Limited. All rights reserved.