Chart.IsSoftShadows 属性

定义

获取或设置一个标志,该标志决定了在绘制阴影时是否应用平滑渐变。Gets or sets a flag that determines if a smooth gradient is applied when shadows are drawn.

public:
 property bool IsSoftShadows { bool get(); void set(bool value); };
[System.ComponentModel.Bindable(true)]
public bool IsSoftShadows { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.IsSoftShadows : bool with get, set
Public Property IsSoftShadows As Boolean

属性值

Boolean

如果绘制阴影时使用平滑处理,则为 true;否则为 falsetrue if shadows are drawn using smoothing; otherwise, false. 默认值为 trueThe default value is true.

属性

注解

如果 ShadowOffset 序列、数据点、图表区或图例的属性值为非零值,则会使用颜色集的属性来应用阴影 ShadowColorIf the value of the ShadowOffset property for a series, data point, chart area or legend is nonzero, a shadow will be applied using a color set by their ShadowColor property.

如果属性的值 IsSoftShadows 为,则 true 平滑渐变将应用于阴影。If the value of the IsSoftShadows property is true, a smooth gradient will be applied to the shadow.

适用于