GradientBrush.MappingMode GradientBrush.MappingMode GradientBrush.MappingMode GradientBrush.MappingMode Property

Definition

Gets or sets a BrushMappingMode enumeration value that specifies whether the positioning coordinates of the gradient brush are absolute or relative to the output area.

public : BrushMappingMode MappingMode { get; set; }
BrushMappingMode MappingMode();

void MappingMode(BrushMappingMode mappingmode);
public BrushMappingMode MappingMode { get; set; }
Public ReadWrite Property MappingMode As BrushMappingMode
<gradientBrush MappingMode="Absolute"/>
-or-
<gradientBrush MappingMode="RelativeToBoundingBox"/>

Property Value

A BrushMappingMode value that specifies how to interpret the gradient brush's positioning coordinates. The default is RelativeToBoundingBox.