Package com.independentsoft.office.vml
Class Stroke
java.lang.Object
com.independentsoft.office.vml.Stroke
- All Implemented Interfaces:
IContentElement,IGroupElement,IShapeElement,IVmlElement
The Class Stroke.
-
Constructor Summary
ConstructorsConstructorDescriptionStroke()Instantiates a new stroke.Stroke(InternalXMLStreamReader reader)Instantiates a new stroke. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the alternate image reference location.Gets the alternate pattern color.Gets the bottom.getColor()Gets the color.Gets the dash pattern.Gets the end arrow.Gets the end arrow length.Gets the end arrow width.Gets the end cap.Gets the extension handling behavior.Gets the fill type.Gets the image aspect ratio.Gets the image size.Gets the image url.Gets the interior.Gets the join style.getLeft()Gets the left.Gets the line style.doubleGets the miter limit.Gets the opacity.getRight()Gets the right.Gets the source.Gets the start arrow.Gets the start arrow length.Gets the start arrow width.getTitle()Gets the title.getTop()Gets the top.Gets the weight.booleanChecks if is display.booleanChecks if is force dash.booleanChecks if is image alignment.booleanChecks if is inset border from path.voidsetAlternateImageReferenceLocation(String alternateImageReferenceLocation)Sets the alternate image reference location.voidsetAlternatePatternColor(String alternatePatternColor)Sets the alternate pattern color.voidsetBottom(TextBoxBottomStroke bottom)Sets the bottom.voidSets the color.voidsetDashPattern(String dashPattern)Sets the dash pattern.voidsetDisplay(boolean display)Sets the display.voidsetEndArrow(StrokeArrowType endArrow)Sets the end arrow.voidsetEndArrowLength(StrokeArrowLength endArrowLength)Sets the end arrow length.voidsetEndArrowWidth(StrokeArrowWidth endArrowWidth)Sets the end arrow width.voidsetEndCap(StrokeEndCapType endCap)Sets the end cap.voidsetExtensionHandlingBehavior(ExtensionHandlingBehavior extensionHandlingBehavior)Sets the extension handling behavior.voidsetFillType(FillType fillType)Sets the fill type.voidsetForceDash(boolean forceDash)Sets the force dash.voidsetImageAlignment(boolean imageAlignment)Sets the image alignment.voidsetImageAspectRatio(ImageAspect imageAspectRatio)Sets the image aspect ratio.voidsetImageSize(String imageSize)Sets the image size.voidsetImageUrl(String imageUrl)Sets the image url.voidsetInsetBorderFromPath(boolean insetBorderFromPath)Sets the inset border from path.voidsetInterior(TextBoxInteriorStroke interior)Sets the interior.voidsetJoinStyle(StrokeJoinStyle joinStyle)Sets the join style.voidsetLeft(TextBoxLeftStroke left)Sets the left.voidsetLineStyle(StrokeLineStyle lineStyle)Sets the line style.voidsetMiterLimit(double miterLimit)Sets the miter limit.voidsetOpacity(String opacity)Sets the opacity.voidsetRight(TextBoxRightStroke right)Sets the right.voidSets the source.voidsetStartArrow(StrokeArrowType startArrow)Sets the start arrow.voidsetStartArrowLength(StrokeArrowLength startArrowLength)Sets the start arrow length.voidsetStartArrowWidth(StrokeArrowWidth startArrowWidth)Sets the start arrow width.voidSets the title.voidsetTop(TextBoxTopStroke top)Sets the top.voidSets the weight.toString()
-
Constructor Details
-
Stroke
public Stroke()Instantiates a new stroke. -
Stroke
Instantiates a new stroke.- 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
-
getBottom
Gets the bottom.- Returns:
- the bottom
-
setBottom
Sets the bottom.- Parameters:
bottom- the new bottom
-
getInterior
Gets the interior.- Returns:
- the interior
-
setInterior
Sets the interior.- Parameters:
interior- the new interior
-
getLeft
Gets the left.- Returns:
- the left
-
setLeft
Sets the left.- Parameters:
left- the new left
-
getRight
Gets the right.- Returns:
- the right
-
setRight
Sets the right.- Parameters:
right- the new right
-
getTop
Gets the top.- Returns:
- the top
-
setTop
Sets the top.- Parameters:
top- the new top
-
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
-
getColor
Gets the color.- Returns:
- the color
-
setColor
Sets the color.- Parameters:
color- the new color
-
getAlternatePatternColor
Gets the alternate pattern color.- Returns:
- the alternate pattern color
-
setAlternatePatternColor
Sets the alternate pattern color.- Parameters:
alternatePatternColor- the new alternate pattern color
-
getDashPattern
Gets the dash pattern.- Returns:
- the dash pattern
-
setDashPattern
Sets the dash pattern.- Parameters:
dashPattern- the new dash pattern
-
getEndArrow
Gets the end arrow.- Returns:
- the end arrow
-
setEndArrow
Sets the end arrow.- Parameters:
endArrow- the new end arrow
-
getEndArrowLength
Gets the end arrow length.- Returns:
- the end arrow length
-
setEndArrowLength
Sets the end arrow length.- Parameters:
endArrowLength- the new end arrow length
-
getEndArrowWidth
Gets the end arrow width.- Returns:
- the end arrow width
-
setEndArrowWidth
Sets the end arrow width.- Parameters:
endArrowWidth- the new end arrow width
-
getEndCap
Gets the end cap.- Returns:
- the end cap
-
setEndCap
Sets the end cap.- Parameters:
endCap- the new end cap
-
getExtensionHandlingBehavior
Gets the extension handling behavior.- Returns:
- the extension handling behavior
-
setExtensionHandlingBehavior
Sets the extension handling behavior.- Parameters:
extensionHandlingBehavior- the new extension handling behavior
-
getFillType
Gets the fill type.- Returns:
- the fill type
-
setFillType
Sets the fill type.- Parameters:
fillType- the new fill type
-
isForceDash
public boolean isForceDash()Checks if is force dash.- Returns:
- true, if is force dash
-
setForceDash
public void setForceDash(boolean forceDash)Sets the force dash.- Parameters:
forceDash- the new force dash
-
getImageUrl
Gets the image url.- Returns:
- the image url
-
setImageUrl
Sets the image url.- Parameters:
imageUrl- the new image url
-
isImageAlignment
public boolean isImageAlignment()Checks if is image alignment.- Returns:
- true, if is image alignment
-
setImageAlignment
public void setImageAlignment(boolean imageAlignment)Sets the image alignment.- Parameters:
imageAlignment- the new image alignment
-
getImageAspectRatio
Gets the image aspect ratio.- Returns:
- the image aspect ratio
-
setImageAspectRatio
Sets the image aspect ratio.- Parameters:
imageAspectRatio- the new image aspect ratio
-
getImageSize
Gets the image size.- Returns:
- the image size
-
setImageSize
Sets the image size.- Parameters:
imageSize- the new image size
-
isInsetBorderFromPath
public boolean isInsetBorderFromPath()Checks if is inset border from path.- Returns:
- true, if is inset border from path
-
setInsetBorderFromPath
public void setInsetBorderFromPath(boolean insetBorderFromPath)Sets the inset border from path.- Parameters:
insetBorderFromPath- the new inset border from path
-
getJoinStyle
Gets the join style.- Returns:
- the join style
-
setJoinStyle
Sets the join style.- Parameters:
joinStyle- the new join style
-
getLineStyle
Gets the line style.- Returns:
- the line style
-
setLineStyle
Sets the line style.- Parameters:
lineStyle- the new line style
-
getMiterLimit
public double getMiterLimit()Gets the miter limit.- Returns:
- the miter limit
-
setMiterLimit
public void setMiterLimit(double miterLimit)Sets the miter limit.- Parameters:
miterLimit- the new miter limit
-
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
-
getSource
Gets the source.- Returns:
- the source
-
setSource
Sets the source.- Parameters:
source- the new source
-
getStartArrow
Gets the start arrow.- Returns:
- the start arrow
-
setStartArrow
Sets the start arrow.- Parameters:
startArrow- the new start arrow
-
getStartArrowLength
Gets the start arrow length.- Returns:
- the start arrow length
-
setStartArrowLength
Sets the start arrow length.- Parameters:
startArrowLength- the new start arrow length
-
getStartArrowWidth
Gets the start arrow width.- Returns:
- the start arrow width
-
setStartArrowWidth
Sets the start arrow width.- Parameters:
startArrowWidth- the new start arrow width
-
getTitle
Gets the title.- Returns:
- the title
-
setTitle
Sets the title.- Parameters:
title- the new title
-
getWeight
Gets the weight.- Returns:
- the weight
-
setWeight
Sets the weight.- Parameters:
weight- the new weight
-