Class GradientFill
java.lang.Object
com.independentsoft.office.drawing.GradientFill
- All Implemented Interfaces:
IFill
The Class GradientFill.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new gradient fill.GradientFill(InternalXMLStreamReader reader)Instantiates a new gradient fill. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the gradient stops.Gets the linear gradient fill.Gets the path gradient.Gets the tile flip.Gets the tile rectangle.booleanChecks if is rotate with shape.voidsetLinearGradientFill(LinearGradientFill linearGradientFill)Sets the linear gradient fill.voidsetPathGradient(PathGradient pathGradient)Sets the path gradient.voidsetRotateWithShape(boolean rotateWithShape)Sets the rotate with shape.voidsetTileFlip(TileFlipMode tileFlip)Sets the tile flip.voidsetTileRectangle(TileRectangle tileRectangle)Sets the tile rectangle.toString()
-
Constructor Details
-
GradientFill
public GradientFill()Instantiates a new gradient fill. -
GradientFill
Instantiates a new gradient fill.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
getGradientStops
Gets the gradient stops.- Returns:
- the gradient stops
-
getLinearGradientFill
Gets the linear gradient fill.- Returns:
- the linear gradient fill
-
setLinearGradientFill
Sets the linear gradient fill.- Parameters:
linearGradientFill- the new linear gradient fill
-
getPathGradient
Gets the path gradient.- Returns:
- the path gradient
-
setPathGradient
Sets the path gradient.- Parameters:
pathGradient- the new path gradient
-
getTileRectangle
Gets the tile rectangle.- Returns:
- the tile rectangle
-
setTileRectangle
Sets the tile rectangle.- Parameters:
tileRectangle- the new tile rectangle
-
getTileFlip
Gets the tile flip.- Returns:
- the tile flip
-
setTileFlip
Sets the tile flip.- Parameters:
tileFlip- the new tile flip
-
isRotateWithShape
public boolean isRotateWithShape()Checks if is rotate with shape.- Returns:
- true, if is rotate with shape
-
setRotateWithShape
public void setRotateWithShape(boolean rotateWithShape)Sets the rotate with shape.- Parameters:
rotateWithShape- the new rotate with shape
-