Package com.independentsoft.office.vml
Class Fill
java.lang.Object
com.independentsoft.office.vml.Fill
- All Implemented Interfaces:
IContentElement,IGroupElement,IShapeElement,IVmlElement
The Class Fill.
-
Constructor Summary
ConstructorsConstructorDescriptionFill()Instantiates a new fill.Fill(InternalXMLStreamReader reader)Instantiates a new fill. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the alternate image reference location.getFocus()Gets the focus.Gets the focus position.Gets the focus size.doubleGets the gradient angle.Gets the hyperlink target.getID()Gets the id.Gets the image aspect ratio.Gets the intermediate colors.Gets the method.Gets the origin.Gets the position.Gets the primary color.Gets the primary color opacity.Gets the secondary color.Gets the secondary color opacity.getSize()Gets the size.Gets the source.getTitle()Gets the title.getType()Gets the type.booleanChecks if is align image with shape.booleanChecks if is detect mouse click.booleanChecks if is display.booleanChecks if is recolor.booleanisRotate()Checks if is rotate.voidsetAlignImageWithShape(boolean alignImageWithShape)Sets the align image with shape.voidsetAlternateImageReferenceLocation(String alternateImageReferenceLocation)Sets the alternate image reference location.voidsetDetectMouseClick(boolean detectMouseClick)Sets the detect mouse click.voidsetDisplay(boolean display)Sets the display.voidSets the focus.voidsetFocusPosition(String focusPosition)Sets the focus position.voidsetFocusSize(String focusSize)Sets the focus size.voidsetGradientAngle(double gradientAngle)Sets the gradient angle.voidsetHyperlinkTarget(String hyperlinkTarget)Sets the hyperlink target.voidSets the id.voidsetImageAspectRatio(ImageAspect imageAspectRatio)Sets the image aspect ratio.voidsetIntermediateColors(String intermediateColors)Sets the intermediate colors.voidsetMethod(FillMethod method)Sets the method.voidSets the origin.voidsetPosition(String position)Sets the position.voidsetPrimaryColor(String primaryColor)Sets the primary color.voidsetPrimaryColorOpacity(String primaryColorOpacity)Sets the primary color opacity.voidsetRecolor(boolean recolor)Sets the recolor.voidsetRotate(boolean rotate)Sets the rotate.voidsetSecondaryColor(String secondaryColor)Sets the secondary color.voidsetSecondaryColorOpacity(String secondaryColorOpacity)Sets the secondary color opacity.voidSets the size.voidSets the source.voidSets the title.voidSets the type.toString()
-
Constructor Details
-
Fill
public Fill()Instantiates a new fill. -
Fill
Instantiates a new fill.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
getContentElements
- Specified by:
getContentElementsin interfaceIContentElement
-
clone
- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIGroupElement- Specified by:
clonein interfaceIShapeElement- Specified by:
clonein interfaceIVmlElement- Overrides:
clonein classObject
-
toString
-
isAlignImageWithShape
public boolean isAlignImageWithShape()Checks if is align image with shape.- Returns:
- true, if is align image with shape
-
setAlignImageWithShape
public void setAlignImageWithShape(boolean alignImageWithShape)Sets the align image with shape.- Parameters:
alignImageWithShape- the new align image with shape
-
getAlternateImageReferenceLocation
Gets the alternate image reference location.- Returns:
- the alternate image reference location
-
setAlternateImageReferenceLocation
Sets the alternate image reference location.- Parameters:
alternateImageReferenceLocation- the new alternate image reference location
-
getGradientAngle
public double getGradientAngle()Gets the gradient angle.- Returns:
- the gradient angle
-
setGradientAngle
public void setGradientAngle(double gradientAngle)Sets the gradient angle.- Parameters:
gradientAngle- the new gradient angle
-
getImageAspectRatio
Gets the image aspect ratio.- Returns:
- the image aspect ratio
-
setImageAspectRatio
Sets the image aspect ratio.- Parameters:
imageAspectRatio- the new image aspect ratio
-
getPrimaryColor
Gets the primary color.- Returns:
- the primary color
-
setPrimaryColor
Sets the primary color.- Parameters:
primaryColor- the new primary color
-
getSecondaryColor
Gets the secondary color.- Returns:
- the secondary color
-
setSecondaryColor
Sets the secondary color.- Parameters:
secondaryColor- the new secondary color
-
getIntermediateColors
Gets the intermediate colors.- Returns:
- the intermediate colors
-
setIntermediateColors
Sets the intermediate colors.- Parameters:
intermediateColors- the new intermediate colors
-
isDetectMouseClick
public boolean isDetectMouseClick()Checks if is detect mouse click.- Returns:
- true, if is detect mouse click
-
setDetectMouseClick
public void setDetectMouseClick(boolean detectMouseClick)Sets the detect mouse click.- Parameters:
detectMouseClick- the new detect mouse click
-
getFocus
Gets the focus.- Returns:
- the focus
-
setFocus
Sets the focus.- Parameters:
focus- the new focus
-
getFocusPosition
Gets the focus position.- Returns:
- the focus position
-
setFocusPosition
Sets the focus position.- Parameters:
focusPosition- the new focus position
-
getFocusSize
Gets the focus size.- Returns:
- the focus size
-
setFocusSize
Sets the focus size.- Parameters:
focusSize- the new focus size
-
getHyperlinkTarget
Gets the hyperlink target.- Returns:
- the hyperlink target
-
setHyperlinkTarget
Sets the hyperlink target.- Parameters:
hyperlinkTarget- the new hyperlink target
-
getID
Gets the id.- Returns:
- the id
-
setID
Sets the id.- Parameters:
id- the new id
-
getMethod
Gets the method.- Returns:
- the method
-
setMethod
Sets the method.- Parameters:
method- the new method
-
isDisplay
public boolean isDisplay()Checks if is display.- Returns:
- true, if is display
-
setDisplay
public void setDisplay(boolean display)Sets the display.- Parameters:
display- the new display
-
getPrimaryColorOpacity
Gets the primary color opacity.- Returns:
- the primary color opacity
-
setPrimaryColorOpacity
Sets the primary color opacity.- Parameters:
primaryColorOpacity- the new primary color opacity
-
getSecondaryColorOpacity
Gets the secondary color opacity.- Returns:
- the secondary color opacity
-
setSecondaryColorOpacity
Sets the secondary color opacity.- Parameters:
secondaryColorOpacity- the new secondary color opacity
-
getOrigin
Gets the origin.- Returns:
- the origin
-
setOrigin
Sets the origin.- Parameters:
origin- the new origin
-
getPosition
Gets the position.- Returns:
- the position
-
setPosition
Sets the position.- Parameters:
position- the new position
-
isRecolor
public boolean isRecolor()Checks if is recolor.- Returns:
- true, if is recolor
-
setRecolor
public void setRecolor(boolean recolor)Sets the recolor.- Parameters:
recolor- the new recolor
-
isRotate
public boolean isRotate()Checks if is rotate.- Returns:
- true, if is rotate
-
setRotate
public void setRotate(boolean rotate)Sets the rotate.- Parameters:
rotate- the new rotate
-
getSize
Gets the size.- Returns:
- the size
-
setSize
Sets the size.- Parameters:
size- the new size
-
getSource
Gets the source.- Returns:
- the source
-
setSource
Sets the source.- Parameters:
source- the new source
-
getTitle
Gets the title.- Returns:
- the title
-
setTitle
Sets the title.- Parameters:
title- the new title
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-