Package com.independentsoft.office.vml
Class Shadow
java.lang.Object
com.independentsoft.office.vml.Shadow
- All Implemented Interfaces:
IContentElement,IGroupElement,IShapeElement,IVmlElement
The Class Shadow.
-
Constructor Summary
ConstructorsConstructorDescriptionShadow()Instantiates a new shadow.Shadow(InternalXMLStreamReader reader)Instantiates a new shadow. -
Method Summary
Modifier and TypeMethodDescriptionclone()getID()Gets the id.Gets the matrix.Gets the opacity.Gets the origin.Gets the primary color.Gets the primary offset.Gets the secondary color.Gets the secondary offset.getType()Gets the type.booleanChecks if is display.booleanChecks if is transparent.voidsetDisplay(boolean display)Sets the display.voidSets the id.voidSets the matrix.voidsetOpacity(String opacity)Sets the opacity.voidSets the origin.voidsetPrimaryColor(String primaryColor)Sets the primary color.voidsetPrimaryOffset(String primaryOffset)Sets the primary offset.voidsetSecondaryColor(String secondaryColor)Sets the secondary color.voidsetSecondaryOffset(String secondaryOffset)Sets the secondary offset.voidsetTransparent(boolean isTransparent)Sets the transparent.voidsetType(ShadowType type)Sets the type.toString()
-
Constructor Details
-
Shadow
public Shadow()Instantiates a new shadow. -
Shadow
Instantiates a new shadow.- 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
-
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
-
getID
Gets the id.- Returns:
- the id
-
setID
Sets the id.- Parameters:
id- the new id
-
getMatrix
Gets the matrix.- Returns:
- the matrix
-
setMatrix
Sets the matrix.- Parameters:
matrix- the new matrix
-
isTransparent
public boolean isTransparent()Checks if is transparent.- Returns:
- true, if is transparent
-
setTransparent
public void setTransparent(boolean isTransparent)Sets the transparent.- Parameters:
isTransparent- the new transparent
-
getPrimaryOffset
Gets the primary offset.- Returns:
- the primary offset
-
setPrimaryOffset
Sets the primary offset.- Parameters:
primaryOffset- the new primary offset
-
getSecondaryOffset
Gets the secondary offset.- Returns:
- the secondary offset
-
setSecondaryOffset
Sets the secondary offset.- Parameters:
secondaryOffset- the new secondary offset
-
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
-
getOpacity
Gets the opacity.- Returns:
- the opacity
-
setOpacity
Sets the opacity.- Parameters:
opacity- the new opacity
-
getOrigin
Gets the origin.- Returns:
- the origin
-
setOrigin
Sets the origin.- Parameters:
origin- the new origin
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-