次の方法で共有


IXRTileBrush (Windows Embedded CE 6.0)

1/6/2010

This class provides a base class for painting a region by using one or more tiles.

Syntax

class IXRTileBrush : public IXRBrush

Methods

Method Description

IXRTileBrush::GetAlignmentX

Retrieves the horizontal alignment of content in the IXRTileBrush base tile.

IXRTileBrush::GetAlignmentY

Retrieves the vertical alignment of content in the IXRTileBrush base tile.

IXRTileBrush::GetStretch

Retrieves a value that specifies how the content of this tile brush stretches to fit its tiles.

IXRTileBrush::SetAlignmentX

Sets the horizontal alignment of content in the IXRTileBrush base tile.

IXRTileBrush::SetAlignmentY

Sets the vertical alignment of content in the IXRTileBrush base tile.

IXRTileBrush::SetStretch

Sets a value that specifies how the content of this tile brush stretches to fit its tiles.

Remarks

IXRTileBrush paints an area by using a series of image tiles that create a pattern, instead of using a single stretched image.

When you paint an area by using IXRTileBrush, you use three components: content, tiles, and the output area. The image determines the content, and the tile determines the location of the image in relation to the output area on-screen. When a tile brush produces a single tile, the image completely fills the area that you are painting.

IXRImageBrush is a derived class of IXRTileBrush that defines the contents of the tiles that you use to paint a region.

Inheritance Hierarchy

IXRDependencyObject

    IXRBrush

        IXRTileBrush

           IXRImageBrush

.NET Framework Equivalent

System.Windows.Media.TileBrush

Requirements

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

See Also

Reference

Classes for Visual Appearance and Behavior