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

ValueDescription
NONENo pattern.
PERCENT_1010% of the foreground color.
PERCENT_2020% of the foreground color.
PERCENT_2525% of the foreground color.
PERCENT_3030% of the foreground color.
PERCENT_4040% of the foreground color
PERCENT_5050% of the foreground color
PERCENT_55% of the foreground color.
PERCENT_6060% of the foreground color.
PERCENT_7070% of the foreground color.
PERCENT_7575% of the foreground color.
PERCENT_8080% of the foreground color.
PERCENT_9090% of the foreground color.
CROSSCross.
DARK_DOWNWARD_DIAGONALDark downward diagonal.
DARK_HORIZONTALDark horizontal.
DARK_UPWARD_DIAGONALDark upward diagonal.
DARK_VERTICALDark vertical.
DASHED_DOWNWARD_DIAGONALDashed downward diagonal.
DASHED_HORIZONTALDashed horizontal.
DASHED_UPWARD_DIAGONALDashed upward diagonal.
DASHED_VERTICALDashed vertical.
DIAGONAL_BRICKDiagonal brick.
DIAGONAL_CROSSDiagonal cross.
DIVOTPattern divot.
DOTTED_DIAMONDDotted diamond.
DOTTED_GRIDDotted grid.
DOWNWARD_DIAGONALDownward diagonal.
HORIZONTALHorizontal.
HORIZONTAL_BRICKHorizontal brick.
LARGE_CHECKER_BOARDLarge checker board.
LARGE_CONFETTILarge confetti.
LARGE_GRIDLarge grid.
LIGHT_DOWNWARD_DIAGONALLight downward diagonal.
LIGHT_HORIZONTALLight horizontal.
LIGHT_UPWARD_DIAGONALLight upward diagonal.
LIGHT_VERTICALLight vertical.
NARROW_HORIZONTALNarrow horizontal.
NARROW_VERTICALNarrow vertical.
OUTLINED_DIAMONDOutlined diamond.
PLAIDPlaid.
SHINGLEShingle.
SMALL_CHECKER_BOARDSmall checker board.
SMALL_CONFETTISmall confetti.
SMALL_GRIDSmall grid.
SOLID_DIAMONDSolid diamond.
SPHERESphere.
TRELLISTrellis.
UPWARD_DIAGONALUpward diagonal.
VERTICALVertical.
WAVEWave.
WEAVEWeave.
WIDE_DOWNWARD_DIAGONALWide downward diagonal.
WIDE_UPWARD_DIAGONALWide upward diagonal.
ZIG_ZAGZig zag.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of PatternType values.

Methods

SignatureDescription
getName(patternType: int) → StringReturns JAVA_STYLE string representation of integer PatternType value.
toString(patternType: int) → StringReturns DotNetStyle string representation of integer PatternType value.
fromName(patternTypeName: String) → intReturns integer representation by PatternType name.
getValues() → int[]Returns array of PatternType values.

See Also