Share via


BrushMappingMode Enum

Definition

Specifies the coordinate system used by a Brush.

public enum class BrushMappingMode
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class BrushMappingMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum BrushMappingMode
Public Enum BrushMappingMode
Inheritance
BrushMappingMode
Attributes

Fields

Name Value Description
Absolute 0

The coordinate system is not relative to a bounding box. Values are interpreted directly in local space.

RelativeToBoundingBox 1

The coordinate system is relative to a bounding box: 0 indicates 0 percent of the bounding box, and 1 indicates 100 percent of the bounding box. For example, (0.5, 0.5) describes a point in the middle of the bounding box, and (1, 1) describes a point at the lower right of the bounding box.

Applies to