public enum XpsTileMode extends Enum<XpsTileMode>
Valid values of tiling brushes' TileMode property.
Enum Constant and Description |
---|
FlipX
The tile arrangement is similar to the Tile tile mode, but alternate columns of tiles are
flipped horizontally.
|
FlipXY
The tile arrangement is similar to the Tile tile mode, but alternate columns of tiles are
flipped horizontally and alternate rows of tiles are flipped vertically.
|
FlipY
The tile arrangement is similar to the Tile tile mode, but alternate rows of tiles are flipped
vertically.
|
None
In this mode, only the single base tile is drawn.
|
Tile
In this mode, the base tile is drawn and the remaining area is filled by repeating the base
tile such that the right edge of each tile abuts the left edge of the next, and the bottom
edge of each tile abuts the top edge of the next.
|
Modifier and Type | Method and Description |
---|---|
static XpsTileMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XpsTileMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XpsTileMode None
In this mode, only the single base tile is drawn. The remaining area is left transparent.
public static final XpsTileMode Tile
In this mode, the base tile is drawn and the remaining area is filled by repeating the base tile such that the right edge of each tile abuts the left edge of the next, and the bottom edge of each tile abuts the top edge of the next.
public static final XpsTileMode FlipX
The tile arrangement is similar to the Tile tile mode, but alternate columns of tiles are flipped horizontally. The base tile is positioned as specified by the viewport. Tiles in the columns to the left and right of this tile are flipped horizontally.
public static final XpsTileMode FlipY
The tile arrangement is similar to the Tile tile mode, but alternate rows of tiles are flipped vertically. The base tile is positioned as specified by the viewport. Rows above and below are flipped vertically.
public static final XpsTileMode FlipXY
The tile arrangement is similar to the Tile tile mode, but alternate columns of tiles are flipped horizontally and alternate rows of tiles are flipped vertically. The base tile is positioned as specified by the viewport.
public static XpsTileMode[] values()
for (XpsTileMode c : XpsTileMode.values()) System.out.println(c);
public static XpsTileMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null