PatternType
Overview
PatternType is an enum in Aspose.Words FOSS for Java.
Specifies the fill pattern to be used to fill a shape.
Edition status of its 60 listed members (a property and its accessor methods are listed separately, overloads once): 60 not yet exercised by a verified example.
This enum declares 4 methods for PatternType objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
NONE | No pattern. |
PERCENT_10 | 10% of the foreground color. |
PERCENT_20 | 20% of the foreground color. |
PERCENT_25 | 25% of the foreground color. |
PERCENT_30 | 30% of the foreground color. |
PERCENT_40 | 40% of the foreground color |
PERCENT_50 | 50% of the foreground color |
PERCENT_5 | 5% of the foreground color. |
PERCENT_60 | 60% of the foreground color. |
PERCENT_70 | 70% of the foreground color. |
PERCENT_75 | 75% of the foreground color. |
PERCENT_80 | 80% of the foreground color. |
PERCENT_90 | 90% of the foreground color. |
CROSS | Cross. |
DARK_DOWNWARD_DIAGONAL | Dark downward diagonal. |
DARK_HORIZONTAL | Dark horizontal. |
DARK_UPWARD_DIAGONAL | Dark upward diagonal. |
DARK_VERTICAL | Dark vertical. |
DASHED_DOWNWARD_DIAGONAL | Dashed downward diagonal. |
DASHED_HORIZONTAL | Dashed horizontal. |
DASHED_UPWARD_DIAGONAL | Dashed upward diagonal. |
DASHED_VERTICAL | Dashed vertical. |
DIAGONAL_BRICK | Diagonal brick. |
DIAGONAL_CROSS | Diagonal cross. |
DIVOT | Pattern divot. |
DOTTED_DIAMOND | Dotted diamond. |
DOTTED_GRID | Dotted grid. |
DOWNWARD_DIAGONAL | Downward diagonal. |
HORIZONTAL | Horizontal. |
HORIZONTAL_BRICK | Horizontal brick. |
LARGE_CHECKER_BOARD | Large checker board. |
LARGE_CONFETTI | Large confetti. |
LARGE_GRID | Large grid. |
LIGHT_DOWNWARD_DIAGONAL | Light downward diagonal. |
LIGHT_HORIZONTAL | Light horizontal. |
LIGHT_UPWARD_DIAGONAL | Light upward diagonal. |
LIGHT_VERTICAL | Light vertical. |
NARROW_HORIZONTAL | Narrow horizontal. |
NARROW_VERTICAL | Narrow vertical. |
OUTLINED_DIAMOND | Outlined diamond. |
PLAID | Plaid. |
SHINGLE | Shingle. |
SMALL_CHECKER_BOARD | Small checker board. |
SMALL_CONFETTI | Small confetti. |
SMALL_GRID | Small grid. |
SOLID_DIAMOND | Solid diamond. |
SPHERE | Sphere. |
TRELLIS | Trellis. |
UPWARD_DIAGONAL | Upward diagonal. |
VERTICAL | Vertical. |
WAVE | Wave. |
WEAVE | Weave. |
WIDE_DOWNWARD_DIAGONAL | Wide downward diagonal. |
WIDE_UPWARD_DIAGONAL | Wide upward diagonal. |
ZIG_ZAG | Zig zag. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of PatternType values. |
Methods
| Signature | Description |
|---|---|
getName(patternType: int) → String | Returns JAVA_STYLE string representation of integer PatternType value. |
toString(patternType: int) → String | Returns DotNetStyle string representation of integer PatternType value. |
fromName(patternTypeName: String) → int | Returns integer representation by PatternType name. |
getValues() → int[] | Returns array of PatternType values. |