BrushMappingMode BrushMappingMode BrushMappingMode BrushMappingMode Enum


Specifies the coordinate system used by a Brush.

public : enum class BrushMappingMode
enum class winrt::Windows::UI::Xaml::Media::BrushMappingMode : int32_t
public enum BrushMappingMode
Public Enum BrushMappingMode
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Absolute Absolute Absolute Absolute 0

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

RelativeToBoundingBox RelativeToBoundingBox RelativeToBoundingBox 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.