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

結合 FlipXFlipYThe 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
TileMode 列舉的可用磚模式Available tile modes for the TileMode enumeration

適用於

另請參閱