Bewerken

Share via


TileMode Enum

Definition

Describes how a TileBrush paints tiles onto an output area.

public enum class TileMode
public enum TileMode
type TileMode = 
Public Enum TileMode
Inheritance
TileMode

Fields

Name Value Description
None 0

The base tile is drawn but not repeated. The remaining area is transparent.

FlipX 1

The same as Tile except that alternate columns of tiles are flipped horizontally. The base tile itself is not flipped.

FlipY 2

The same as Tile except that alternate rows of tiles are flipped vertically. The base tile itself is not flipped.

FlipXY 3

The combination of FlipX and FlipY. The base tile itself is not flipped.

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.

Remarks

The following illustration shows the different tile modes.

Available tile modes

Applies to