BrushMappingMode BrushMappingMode BrushMappingMode Enum

Specifies the coordinate system used by a Brush.

Syntax

Declaration

public enum BrushMappingModepublic enum BrushMappingModePublic Enum BrushMappingMode

Fields

Absolute
Absolute
Absolute
Absolute

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

RelativeToBoundingBox
RelativeToBoundingBox
RelativeToBoundingBox
RelativeToBoundingBox

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.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.Media.dll