Class CTStroke

java.lang.Object
org.docx4j.vml.CTStroke
All Implemented Interfaces:
Child

public class CTStroke
extends java.lang.Object
implements Child

Java class for CT_Stroke complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_Stroke">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:schemas-microsoft-com:office:office}left" minOccurs="0"/>
         <element ref="{urn:schemas-microsoft-com:office:office}top" minOccurs="0"/>
         <element ref="{urn:schemas-microsoft-com:office:office}right" minOccurs="0"/>
         <element ref="{urn:schemas-microsoft-com:office:office}bottom" minOccurs="0"/>
         <element ref="{urn:schemas-microsoft-com:office:office}column" minOccurs="0"/>
       </sequence>
       <attGroup ref="{urn:schemas-microsoft-com:vml}AG_Id"/>
       <attGroup ref="{urn:schemas-microsoft-com:vml}AG_StrokeAttributes"/>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • left

      protected CTStrokeChild left
    • top

      protected CTStrokeChild top
    • bottom

      protected CTStrokeChild bottom
    • column

      protected CTStrokeChild column
    • vmlId

      protected java.lang.String vmlId
    • on

      protected STTrueFalse on
    • weight

      protected java.lang.String weight
    • color

      protected java.lang.String color
    • opacity

      protected java.lang.String opacity
    • linestyle

      protected STStrokeLineStyle linestyle
    • miterlimit

      protected java.lang.String miterlimit
    • joinstyle

      protected STStrokeJoinStyle joinstyle
    • endcap

      protected STStrokeEndCap endcap
    • dashstyle

      protected java.lang.String dashstyle
    • filltype

      protected STFillType filltype
    • src

      protected java.lang.String src
    • imageaspect

      protected STImageAspect imageaspect
    • imagesize

      protected java.lang.String imagesize
    • imagealignshape

      protected STTrueFalse imagealignshape
    • color2

      protected java.lang.String color2
    • startarrow

      protected STStrokeArrowType startarrow
    • startarrowwidth

      protected STStrokeArrowWidth startarrowwidth
    • startarrowlength

      protected STStrokeArrowLength startarrowlength
    • endarrow

      protected STStrokeArrowType endarrow
    • endarrowwidth

      protected STStrokeArrowWidth endarrowwidth
    • endarrowlength

      protected STStrokeArrowLength endarrowlength
    • href

      protected java.lang.String href
    • althref

      protected java.lang.String althref
    • title

      protected java.lang.String title
    • forcedash

      protected STTrueFalse forcedash
    • id

      protected java.lang.String id
    • insetpen

      protected STTrueFalse insetpen
    • relid

      protected java.lang.String relid
  • Constructor Details

    • CTStroke

      public CTStroke()
  • Method Details

    • getLeft

      public CTStrokeChild getLeft()
      Gets the value of the left property.
      Returns:
      possible object is CTStrokeChild
    • setLeft

      public void setLeft​(CTStrokeChild value)
      Sets the value of the left property.
      Parameters:
      value - allowed object is CTStrokeChild
    • getTop

      public CTStrokeChild getTop()
      Gets the value of the top property.
      Returns:
      possible object is CTStrokeChild
    • setTop

      public void setTop​(CTStrokeChild value)
      Sets the value of the top property.
      Parameters:
      value - allowed object is CTStrokeChild
    • getRight

      public CTStrokeChild getRight()
      Gets the value of the right property.
      Returns:
      possible object is CTStrokeChild
    • setRight

      public void setRight​(CTStrokeChild value)
      Sets the value of the right property.
      Parameters:
      value - allowed object is CTStrokeChild
    • getBottom

      public CTStrokeChild getBottom()
      Gets the value of the bottom property.
      Returns:
      possible object is CTStrokeChild
    • setBottom

      public void setBottom​(CTStrokeChild value)
      Sets the value of the bottom property.
      Parameters:
      value - allowed object is CTStrokeChild
    • getColumn

      public CTStrokeChild getColumn()
      Gets the value of the column property.
      Returns:
      possible object is CTStrokeChild
    • setColumn

      public void setColumn​(CTStrokeChild value)
      Sets the value of the column property.
      Parameters:
      value - allowed object is CTStrokeChild
    • getVmlId

      public java.lang.String getVmlId()
      Gets the value of the vmlId property.
      Returns:
      possible object is String
    • setVmlId

      public void setVmlId​(java.lang.String value)
      Sets the value of the vmlId property.
      Parameters:
      value - allowed object is String
    • getOn

      public STTrueFalse getOn()
      Gets the value of the on property.
      Returns:
      possible object is STTrueFalse
    • setOn

      public void setOn​(STTrueFalse value)
      Sets the value of the on property.
      Parameters:
      value - allowed object is STTrueFalse
    • getWeight

      public java.lang.String getWeight()
      Gets the value of the weight property.
      Returns:
      possible object is String
    • setWeight

      public void setWeight​(java.lang.String value)
      Sets the value of the weight property.
      Parameters:
      value - allowed object is String
    • getColor

      public java.lang.String getColor()
      Gets the value of the color property.
      Returns:
      possible object is String
    • setColor

      public void setColor​(java.lang.String value)
      Sets the value of the color property.
      Parameters:
      value - allowed object is String
    • getOpacity

      public java.lang.String getOpacity()
      Gets the value of the opacity property.
      Returns:
      possible object is String
    • setOpacity

      public void setOpacity​(java.lang.String value)
      Sets the value of the opacity property.
      Parameters:
      value - allowed object is String
    • getLinestyle

      public STStrokeLineStyle getLinestyle()
      Gets the value of the linestyle property.
      Returns:
      possible object is STStrokeLineStyle
    • setLinestyle

      public void setLinestyle​(STStrokeLineStyle value)
      Sets the value of the linestyle property.
      Parameters:
      value - allowed object is STStrokeLineStyle
    • getMiterlimit

      public java.lang.String getMiterlimit()
      Gets the value of the miterlimit property.
      Returns:
      possible object is BigDecimal
    • setMiterlimit

      public void setMiterlimit​(java.lang.String value)
      Sets the value of the miterlimit property.
      Parameters:
      value - allowed object is BigDecimal
    • getJoinstyle

      public STStrokeJoinStyle getJoinstyle()
      Gets the value of the joinstyle property.
      Returns:
      possible object is STStrokeJoinStyle
    • setJoinstyle

      public void setJoinstyle​(STStrokeJoinStyle value)
      Sets the value of the joinstyle property.
      Parameters:
      value - allowed object is STStrokeJoinStyle
    • getEndcap

      public STStrokeEndCap getEndcap()
      Gets the value of the endcap property.
      Returns:
      possible object is STStrokeEndCap
    • setEndcap

      public void setEndcap​(STStrokeEndCap value)
      Sets the value of the endcap property.
      Parameters:
      value - allowed object is STStrokeEndCap
    • getDashstyle

      public java.lang.String getDashstyle()
      Gets the value of the dashstyle property.
      Returns:
      possible object is String
    • setDashstyle

      public void setDashstyle​(java.lang.String value)
      Sets the value of the dashstyle property.
      Parameters:
      value - allowed object is String
    • getFilltype

      public STFillType getFilltype()
      Gets the value of the filltype property.
      Returns:
      possible object is STFillType
    • setFilltype

      public void setFilltype​(STFillType value)
      Sets the value of the filltype property.
      Parameters:
      value - allowed object is STFillType
    • getSrc

      public java.lang.String getSrc()
      Gets the value of the src property.
      Returns:
      possible object is String
    • setSrc

      public void setSrc​(java.lang.String value)
      Sets the value of the src property.
      Parameters:
      value - allowed object is String
    • getImageaspect

      public STImageAspect getImageaspect()
      Gets the value of the imageaspect property.
      Returns:
      possible object is STImageAspect
    • setImageaspect

      public void setImageaspect​(STImageAspect value)
      Sets the value of the imageaspect property.
      Parameters:
      value - allowed object is STImageAspect
    • getImagesize

      public java.lang.String getImagesize()
      Gets the value of the imagesize property.
      Returns:
      possible object is String
    • setImagesize

      public void setImagesize​(java.lang.String value)
      Sets the value of the imagesize property.
      Parameters:
      value - allowed object is String
    • getImagealignshape

      public STTrueFalse getImagealignshape()
      Gets the value of the imagealignshape property.
      Returns:
      possible object is STTrueFalse
    • setImagealignshape

      public void setImagealignshape​(STTrueFalse value)
      Sets the value of the imagealignshape property.
      Parameters:
      value - allowed object is STTrueFalse
    • getColor2

      public java.lang.String getColor2()
      Gets the value of the color2 property.
      Returns:
      possible object is String
    • setColor2

      public void setColor2​(java.lang.String value)
      Sets the value of the color2 property.
      Parameters:
      value - allowed object is String
    • getStartarrow

      public STStrokeArrowType getStartarrow()
      Gets the value of the startarrow property.
      Returns:
      possible object is STStrokeArrowType
    • setStartarrow

      public void setStartarrow​(STStrokeArrowType value)
      Sets the value of the startarrow property.
      Parameters:
      value - allowed object is STStrokeArrowType
    • getStartarrowwidth

      public STStrokeArrowWidth getStartarrowwidth()
      Gets the value of the startarrowwidth property.
      Returns:
      possible object is STStrokeArrowWidth
    • setStartarrowwidth

      public void setStartarrowwidth​(STStrokeArrowWidth value)
      Sets the value of the startarrowwidth property.
      Parameters:
      value - allowed object is STStrokeArrowWidth
    • getStartarrowlength

      public STStrokeArrowLength getStartarrowlength()
      Gets the value of the startarrowlength property.
      Returns:
      possible object is STStrokeArrowLength
    • setStartarrowlength

      public void setStartarrowlength​(STStrokeArrowLength value)
      Sets the value of the startarrowlength property.
      Parameters:
      value - allowed object is STStrokeArrowLength
    • getEndarrow

      public STStrokeArrowType getEndarrow()
      Gets the value of the endarrow property.
      Returns:
      possible object is STStrokeArrowType
    • setEndarrow

      public void setEndarrow​(STStrokeArrowType value)
      Sets the value of the endarrow property.
      Parameters:
      value - allowed object is STStrokeArrowType
    • getEndarrowwidth

      public STStrokeArrowWidth getEndarrowwidth()
      Gets the value of the endarrowwidth property.
      Returns:
      possible object is STStrokeArrowWidth
    • setEndarrowwidth

      public void setEndarrowwidth​(STStrokeArrowWidth value)
      Sets the value of the endarrowwidth property.
      Parameters:
      value - allowed object is STStrokeArrowWidth
    • getEndarrowlength

      public STStrokeArrowLength getEndarrowlength()
      Gets the value of the endarrowlength property.
      Returns:
      possible object is STStrokeArrowLength
    • setEndarrowlength

      public void setEndarrowlength​(STStrokeArrowLength value)
      Sets the value of the endarrowlength property.
      Parameters:
      value - allowed object is STStrokeArrowLength
    • getHref

      public java.lang.String getHref()
      Original Image Reference
      Returns:
      possible object is String
    • setHref

      public void setHref​(java.lang.String value)
      Sets the value of the href property.
      Parameters:
      value - allowed object is String
    • getAlthref

      public java.lang.String getAlthref()
      Alternate Image Reference
      Returns:
      possible object is String
    • setAlthref

      public void setAlthref​(java.lang.String value)
      Sets the value of the althref property.
      Parameters:
      value - allowed object is String
    • getTitle

      public java.lang.String getTitle()
      Stroke Title
      Returns:
      possible object is String
    • setTitle

      public void setTitle​(java.lang.String value)
      Sets the value of the title property.
      Parameters:
      value - allowed object is String
    • getForcedash

      public STTrueFalse getForcedash()
      Force Dashed Outline
      Returns:
      possible object is STTrueFalse
    • setForcedash

      public void setForcedash​(STTrueFalse value)
      Sets the value of the forcedash property.
      Parameters:
      value - allowed object is STTrueFalse
    • getId

      public java.lang.String getId()
      Relationship
      Returns:
      possible object is String
    • setId

      public void setId​(java.lang.String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • getInsetpen

      public STTrueFalse getInsetpen()
      Gets the value of the insetpen property.
      Returns:
      possible object is STTrueFalse
    • setInsetpen

      public void setInsetpen​(STTrueFalse value)
      Sets the value of the insetpen property.
      Parameters:
      value - allowed object is STTrueFalse
    • getRelid

      public java.lang.String getRelid()
      Relationship to Part
      Returns:
      possible object is String
    • setRelid

      public void setRelid​(java.lang.String value)
      Sets the value of the relid property.
      Parameters:
      value - allowed object is String
    • getParent

      public java.lang.Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal​(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
      This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
      Parameters:
      parent - The parent object in the object tree.
      unmarshaller - The unmarshaller that generated the instance.