Share via


BrushMappingMode Enum

Definition

Specifies the coordinate system used by a Brush.

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

Windows requirements

Requirements Description
Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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