Partager via


XRBrushMappingMode (Windows Embedded CE 6.0)

1/6/2010

This enumeration specifies the coordinate system that is used by a Brush.

Syntax

enum XRBrushMappingMode
{
    XRBrushMappingMode_Absolute=0,
    XRBrushMappingMode_RelativeToBoundingBox=1
};

Members

  • XRBrushMappingMode_Absolute
    The coordinate system is not in relation to a bounding box. Values are interpreted directly in local space.
  • XRBrushMappingMode_RelativeToBoundingBox
    The coordinate system is in relation 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 corner of the bounding box.

Remarks

The bounding box for the XRBrushMappingMode_RelativeToBoundingBox value depends on the property which uses this enumeration.

.NET Framework Equivalent

System.Windows.Media.BrushMappingMode

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Silverlight for Windows Embedded Enumerations