Class CTStroke

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

public class CTStroke extends 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

  • 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 String getVmlId()
      Gets the value of the vmlId property.
      Returns:
      possible object is String
    • setVmlId

      public void setVmlId(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 String getWeight()
      Gets the value of the weight property.
      Returns:
      possible object is String
    • setWeight

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

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

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

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

      public void setOpacity(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 String getMiterlimit()
      Gets the value of the miterlimit property.
      Returns:
      possible object is BigDecimal
    • setMiterlimit

      public void setMiterlimit(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 String getDashstyle()
      Gets the value of the dashstyle property.
      Returns:
      possible object is String
    • setDashstyle

      public void setDashstyle(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 String getSrc()
      Gets the value of the src property.
      Returns:
      possible object is String
    • setSrc

      public void setSrc(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 String getImagesize()
      Gets the value of the imagesize property.
      Returns:
      possible object is String
    • setImagesize

      public void setImagesize(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 String getColor2()
      Gets the value of the color2 property.
      Returns:
      possible object is String
    • setColor2

      public void setColor2(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 String getHref()
      Original Image Reference
      Returns:
      possible object is String
    • setHref

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

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

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

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

      public void setTitle(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 String getId()
      Relationship
      Returns:
      possible object is String
    • setId

      public void setId(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 String getRelid()
      Relationship to Part
      Returns:
      possible object is String
    • setRelid

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

      public 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(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, 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.