[VB] | Public Shared Function softLighting([ direction As Integer [, raisedEffect As Integer ]]) As Integer |
[C#] | public static int softLighting([ int direction [, int raisedEffect ]]); |
ChartDirector 5.1 (.NET Edition)
Chart.softLighting
Usage
[VB] | Public Shared Function softLighting([ direction As Integer [, raisedEffect As Integer ]]) As Integer |
[C#] | public static int softLighting([ int direction [, int raisedEffect ]]); |
Description
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. |
Arguments
Argument | Default | Description |
---|---|---|
direction | Top | The direction of the lighting, which must be one of the predefined constants Top, Bottom, Right or Left. |
raisedEffect | 4 | With soft lighting effect, the object will appear to have some 3D depth. The raisedEffect argument controls the amount of 3D depth in pixels. |
Return Value