Class RectangleType

  • Direct Known Subclasses:
    AnnotationRectangleType

    public class RectangleType
    extends PositionsType
     <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Defines a rectangular area/box.</p>
     

    Java class for RectangleType complex type

    .

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

    
     <complexType name="RectangleType">
       <complexContent>
         <extension base="{http://schema.webpdf.de/1.0/extraction/info}PositionsType">
           <attribute name="width" default="0">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}float">
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="height" default="0">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}float">
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="x" default="0">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}float">
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="y" default="0">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}float">
               </restriction>
             </simpleType>
           </attribute>
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • width

        protected Float width
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The width of the rectangle in points.</p>
         
      • height

        protected Float height
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The height of the rectangle in points.</p>
         
      • x

        protected Float x
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The x coordinate in points.</p>
         
      • y

        protected Float y
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The y coordinate in points.</p>
         
    • Constructor Detail

      • RectangleType

        public RectangleType()
    • Method Detail

      • getWidth

        public float getWidth()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The width of the rectangle in points.</p>
         
        Returns:
        possible object is Float
      • setWidth

        public void setWidth​(Float value)
        Sets the value of the width property.
        Parameters:
        value - allowed object is Float
        See Also:
        getWidth()
      • getHeight

        public float getHeight()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The height of the rectangle in points.</p>
         
        Returns:
        possible object is Float
      • setHeight

        public void setHeight​(Float value)
        Sets the value of the height property.
        Parameters:
        value - allowed object is Float
        See Also:
        getHeight()
      • getX

        public float getX()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The x coordinate in points.</p>
         
        Returns:
        possible object is Float
      • setX

        public void setX​(Float value)
        Sets the value of the x property.
        Parameters:
        value - allowed object is Float
        See Also:
        getX()
      • getY

        public float getY()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The y coordinate in points.</p>
         
        Returns:
        possible object is Float
      • setY

        public void setY​(Float value)
        Sets the value of the y property.
        Parameters:
        value - allowed object is Float
        See Also:
        getY()