Class BackgroundBaseSettingsType.Position

  • Enclosing class:
    BackgroundBaseSettingsType

    public static class BackgroundBaseSettingsType.Position
    extends Object

    Java class for anonymous complex type

    .

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

    
     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attribute name="x" default="0">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}float">
                 <minInclusive value="0"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="y" default="0">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}float">
                 <minInclusive value="0"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="metrics" type="{http://schema.webpdf.de/1.0/operation}MetricsType" default="mm" />
           <attribute name="position" type="{http://schema.webpdf.de/1.0/operation}BackgroundPositionModeType" default="center_center" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • x

        protected Float x
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p490833_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p603985_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p985611_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">X-axis position of rectangle.</p>
         
      • y

        protected Float y
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p490833_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p603985_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p985611_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Y-axis position of rectangle.</p>
         
      • metrics

        protected MetricsType metrics
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p490833_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p603985_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p985611_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Unit used to specify the background's X-axis / Y-axis position:
                                             <ul><li>pt = Points (1/72 inch)</li><li>pc = Picas (12 points)</li><li>px = Pixels (1/96 inch)</li><li>mm = Millimeters</li><li>in = Inches</li></ul></p>
         
      • position

        protected BackgroundPositionModeType position
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p490833_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p603985_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p985611_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Uses one of multiple preset positions in order to position the background on the page.
                                             <ul><li>custom = Disable the use of a preset position.</li><li>top_left = Positions the background in the top left corner.</li><li>top_center = Positions the background in the centre on the top margin.</li><li>top_right = Positions the background in the top right corner.</li><li>center_left = Positions the background at the centre of the page, to the left.</li><li>center_center = Positions the background at the centre of the page.</li><li>center_right = Positions the background at the centre of the page, to the right.</li><li>bottom_left = Positions the background in the bottom left corner.</li><li>bottom_center = Positions the background in the centre on the bottom margin.</li><li>bottom_right = Positions the background in the bottom right corner.</li></ul></p>
         
    • Constructor Detail

      • Position

        public Position()
    • Method Detail

      • getX

        public float getX()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p490833_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p603985_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p985611_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">X-axis position of rectangle.</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()
      • isSetX

        public boolean isSetX()
      • unsetX

        public void unsetX()
      • getY

        public float getY()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p490833_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p603985_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p985611_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Y-axis position of rectangle.</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()
      • isSetY

        public boolean isSetY()
      • unsetY

        public void unsetY()
      • getMetrics

        public MetricsType getMetrics()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p490833_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p603985_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p985611_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Unit used to specify the background's X-axis / Y-axis position:
                                             <ul><li>pt = Points (1/72 inch)</li><li>pc = Picas (12 points)</li><li>px = Pixels (1/96 inch)</li><li>mm = Millimeters</li><li>in = Inches</li></ul></p>
         
        Returns:
        possible object is MetricsType
      • setMetrics

        public void setMetrics​(MetricsType value)
        Sets the value of the metrics property.
        Parameters:
        value - allowed object is MetricsType
        See Also:
        getMetrics()
      • isSetMetrics

        public boolean isSetMetrics()
      • getPosition

        public BackgroundPositionModeType getPosition()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p490833_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p603985_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p985611_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Uses one of multiple preset positions in order to position the background on the page.
                                             <ul><li>custom = Disable the use of a preset position.</li><li>top_left = Positions the background in the top left corner.</li><li>top_center = Positions the background in the centre on the top margin.</li><li>top_right = Positions the background in the top right corner.</li><li>center_left = Positions the background at the centre of the page, to the left.</li><li>center_center = Positions the background at the centre of the page.</li><li>center_right = Positions the background at the centre of the page, to the right.</li><li>bottom_left = Positions the background in the bottom left corner.</li><li>bottom_center = Positions the background in the centre on the bottom margin.</li><li>bottom_right = Positions the background in the bottom right corner.</li></ul></p>
         
        Returns:
        possible object is BackgroundPositionModeType
      • isSetPosition

        public boolean isSetPosition()