Class SimpleShapeAnnotationType

  • Direct Known Subclasses:
    CircleAnnotationType, SquareAnnotationType

    public class SimpleShapeAnnotationType
    extends BaseAnnotationType
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p120009_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p426570_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p903434_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">A common base type for simple shape (currently circle and square) annotations.</p>
     

    Java class for SimpleShapeAnnotationType complex type

    .

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

    
     <complexType name="SimpleShapeAnnotationType">
       <complexContent>
         <extension base="{http://schema.webpdf.de/1.0/operation}BaseAnnotationType">
           <all>
             <element name="position" minOccurs="0">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <choice minOccurs="0">
                       <element name="rectangle" type="{http://schema.webpdf.de/1.0/operation}RectangleType"/>
                     </choice>
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
             <element name="border" type="{http://schema.webpdf.de/1.0/operation}BorderType" minOccurs="0"/>
           </all>
           <attribute name="interiorColor" type="{http://schema.webpdf.de/1.0/operation}RgbColorType" default="#000000" />
           <attribute name="drawMode" type="{http://schema.webpdf.de/1.0/operation}DrawModeType" default="fillAndStroke" />
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • position

        protected SimpleShapeAnnotationType.Position position
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p120009_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p426570_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p903434_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to select the bounds within which the shape shall be positioned.</p>
         
      • border

        protected BorderType border
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p120009_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p426570_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p903434_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to define a border for the drawn shape. This shall only then have effect, if the outline of the shape is stroked.</p>
         
      • interiorColor

        protected String interiorColor
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p120009_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p426570_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p903434_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the font color. The hereby defined color needs to be specified as a hexadecimal RGB value with a number sign before it.</p>
         
      • drawMode

        protected DrawModeType drawMode
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p120009_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p426570_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p903434_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Sets the draw mode for a geometrical shape.
                                         <ul><li>fill = The shape shall be filled with a given interior color.</li><li>stroke = The outline of the shape shall be stroked with a given color.</li><li>fillAndStroke = The shall shall be filled with a given interior color and it's outline shall be stroked with a given color.</li></ul></p>
         
    • Constructor Detail

      • SimpleShapeAnnotationType

        public SimpleShapeAnnotationType()
    • Method Detail

      • getPosition

        public SimpleShapeAnnotationType.Position getPosition()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p120009_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p426570_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p903434_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to select the bounds within which the shape shall be positioned.</p>
         
        Returns:
        possible object is SimpleShapeAnnotationType.Position
      • isSetPosition

        public boolean isSetPosition()
      • getBorder

        public BorderType getBorder()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p120009_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p426570_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p903434_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to define a border for the drawn shape. This shall only then have effect, if the outline of the shape is stroked.</p>
         
        Returns:
        possible object is BorderType
      • setBorder

        public void setBorder​(BorderType value)
        Sets the value of the border property.
        Parameters:
        value - allowed object is BorderType
        See Also:
        getBorder()
      • isSetBorder

        public boolean isSetBorder()
      • getInteriorColor

        public String getInteriorColor()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p120009_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p426570_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p903434_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the font color. The hereby defined color needs to be specified as a hexadecimal RGB value with a number sign before it.</p>
         
        Returns:
        possible object is String
      • setInteriorColor

        public void setInteriorColor​(String value)
        Sets the value of the interiorColor property.
        Parameters:
        value - allowed object is String
        See Also:
        getInteriorColor()
      • isSetInteriorColor

        public boolean isSetInteriorColor()
      • getDrawMode

        public DrawModeType getDrawMode()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p120009_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p426570_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p903434_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Sets the draw mode for a geometrical shape.
                                         <ul><li>fill = The shape shall be filled with a given interior color.</li><li>stroke = The outline of the shape shall be stroked with a given color.</li><li>fillAndStroke = The shall shall be filled with a given interior color and it's outline shall be stroked with a given color.</li></ul></p>
         
        Returns:
        possible object is DrawModeType
      • isSetDrawMode

        public boolean isSetDrawMode()