Class PatternFill
java.lang.Object
com.independentsoft.office.drawing.PatternFill
- All Implemented Interfaces:
IFill
The Class PatternFill.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new pattern fill.PatternFill(InternalXMLStreamReader reader)Instantiates a new pattern fill. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the background color.Gets the foreground color.getType()Gets the type.voidsetBackgroundColor(BackgroundColor backgroundColor)Sets the background color.voidsetForegroundColor(ForegroundColor foregroundColor)Sets the foreground color.voidsetType(PatternFillType type)Sets the type.toString()
-
Constructor Details
-
PatternFill
public PatternFill()Instantiates a new pattern fill. -
PatternFill
Instantiates a new pattern fill.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
getBackgroundColor
Gets the background color.- Returns:
- the background color
-
setBackgroundColor
Sets the background color.- Parameters:
backgroundColor- the new background color
-
getForegroundColor
Gets the foreground color.- Returns:
- the foreground color
-
setForegroundColor
Sets the foreground color.- Parameters:
foregroundColor- the new foreground color
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-