TileMode 枚举

定义

描述 TileBrush 如何将磁贴绘制到输出区域上。Describes how a TileBrush paints tiles onto an output area.

public enum class TileMode
public enum TileMode
type TileMode = 
Public Enum TileMode
继承
TileMode

字段

FlipX 1

Tile 相同,只不过磁贴的交替列被水平翻转。The same as Tile except that alternate columns of tiles are flipped horizontally. 基本磁贴本身不翻转。The base tile itself is not flipped.

FlipXY 3

FlipXFlipY 的组合。The combination of FlipX and FlipY. 基本磁贴本身不翻转。The base tile itself is not flipped.

FlipY 2

Tile 相同,只不过磁贴的交替行被垂直翻转。The same as Tile except that alternate rows of tiles are flipped vertically. 基本磁贴本身不翻转。The base tile itself is not flipped.

None 0

绘制基本磁贴,但不重复基本磁贴。The base tile is drawn but not repeated. 剩余区域是透明的。The remaining area is transparent.

Tile 4

先绘制基本磁贴,然后通过重复基本磁贴来填充其他区域。The base tile is drawn and the remaining area is filled by repeating the base tile. 一个磁贴的右边缘与下一个磁贴的左边缘相接,下边缘和上边缘的情况也类似。The right edge of one tile meets the left edge of the next, and similarly for the bottom and top edges.

注解

下图显示了不同的平铺模式。The following illustration shows the different tile modes.

可用磁贴模式Available tile modes
System.windows.media.tilemode> 枚举的可用磁贴模式Available tile modes for the TileMode enumeration

适用于

另请参阅