RadialGradientBrush.InterpolationSpace 属性

定义

获取或设置用于内插渐变颜色的颜色空间。

本文档适用于Windows 应用 SDK中适用于 UWP 的 WinUI 2 (,请参阅Windows 应用 SDK命名空间)

public:
 property CompositionColorSpace InterpolationSpace { CompositionColorSpace get(); void set(CompositionColorSpace value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Windows::UI::Composition::CompositionColorSpace::Auto")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Windows::UI::Composition::CompositionColorSpace::Auto")]
CompositionColorSpace InterpolationSpace();

void InterpolationSpace(CompositionColorSpace value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Windows::UI::Composition::CompositionColorSpace::Auto")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Windows::UI::Composition::CompositionColorSpace::Auto")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Windows::UI::Composition::CompositionColorSpace::Auto")]
CompositionColorSpace InterpolationSpace();

void InterpolationSpace(CompositionColorSpace value);
public CompositionColorSpace InterpolationSpace { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Windows::UI::Composition::CompositionColorSpace::Auto")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Windows::UI::Composition::CompositionColorSpace::Auto")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Windows::UI::Composition::CompositionColorSpace::Auto")]
public CompositionColorSpace InterpolationSpace { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Windows::UI::Composition::CompositionColorSpace::Auto")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Windows::UI::Composition::CompositionColorSpace::Auto")] set; }
Public Property InterpolationSpace As CompositionColorSpace

属性值

用于内插渐变颜色的颜色空间。 默认为 Auto

属性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

注解

有关支持的值,请参阅 CompositionRadialGradientBrush.InterpolationSpace

适用于