CompositionGradientBrush.MappingMode 属性

定义

获取或设置一个值,该值指示渐变画笔的定位坐标 (StartPoint、EndPoint) 是绝对的还是相对于输出区域的。

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

void MappingMode(CompositionMappingMode value);
public CompositionMappingMode MappingMode { get; set; }
var compositionMappingMode = compositionGradientBrush.mappingMode;
compositionGradientBrush.mappingMode = compositionMappingMode;
Public Property MappingMode As CompositionMappingMode

属性值

枚举的一个值,该值指示渐变画笔的定位坐标 (StartPoint、EndPoint) 是绝对的还是相对于输出区域的。

适用于