共用方式為


GradientBrush.ColorInterpolationMode 屬性

定義

取得或設定 ColorInterpolationMode 列舉值,指定漸層色彩的插補方式。

public:
 property ColorInterpolationMode ColorInterpolationMode { ColorInterpolationMode get(); void set(ColorInterpolationMode value); };
ColorInterpolationMode ColorInterpolationMode();

void ColorInterpolationMode(ColorInterpolationMode value);
public ColorInterpolationMode ColorInterpolationMode { get; set; }
var colorInterpolationMode = gradientBrush.colorInterpolationMode;
gradientBrush.colorInterpolationMode = colorInterpolationMode;
Public Property ColorInterpolationMode As ColorInterpolationMode
<gradientBrush ColorInterpolationMode="colorInterpolationModeMemberName"/>

屬性值

指定如何插補漸層中的色彩。 預設值為 SRgbLinearInterpolation

適用於