Class WatermarkPositionType


  • public class WatermarkPositionType
    extends Object
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p618970_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p733942_="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 position of the watermark in the PDF document.</p>
     

    Java class for WatermarkPositionType complex type.

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

    
     <complexType name="WatermarkPositionType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attribute name="x" default="0">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="0"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="y" default="0">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="0"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="width" default="0">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="0"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="height" default="0">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="0"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="position" type="{http://schema.webpdf.de/1.0/operation}WatermarkPositionModeType" default="center_center" />
           <attribute name="aspectRatio" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
           <attribute name="metrics" type="{http://schema.webpdf.de/1.0/operation}MetricsType" default="mm" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • WatermarkPositionType

        public WatermarkPositionType()
    • Method Detail

      • getX

        public int getX()
        Gets the value of the x property.
        Returns:
        possible object is Integer
      • setX

        public void setX​(int value)
        Sets the value of the x property.
        Parameters:
        value - allowed object is Integer
      • isSetX

        public boolean isSetX()
      • unsetX

        public void unsetX()
      • getY

        public int getY()
        Gets the value of the y property.
        Returns:
        possible object is Integer
      • setY

        public void setY​(int value)
        Sets the value of the y property.
        Parameters:
        value - allowed object is Integer
      • isSetY

        public boolean isSetY()
      • unsetY

        public void unsetY()
      • getWidth

        public int getWidth()
        Gets the value of the width property.
        Returns:
        possible object is Integer
      • setWidth

        public void setWidth​(int value)
        Sets the value of the width property.
        Parameters:
        value - allowed object is Integer
      • isSetWidth

        public boolean isSetWidth()
      • unsetWidth

        public void unsetWidth()
      • getHeight

        public int getHeight()
        Gets the value of the height property.
        Returns:
        possible object is Integer
      • setHeight

        public void setHeight​(int value)
        Sets the value of the height property.
        Parameters:
        value - allowed object is Integer
      • isSetHeight

        public boolean isSetHeight()
      • unsetHeight

        public void unsetHeight()
      • isSetPosition

        public boolean isSetPosition()
      • isAspectRatio

        public boolean isAspectRatio()
        Gets the value of the aspectRatio property.
        Returns:
        possible object is Boolean
      • setAspectRatio

        public void setAspectRatio​(boolean value)
        Sets the value of the aspectRatio property.
        Parameters:
        value - allowed object is Boolean
      • isSetAspectRatio

        public boolean isSetAspectRatio()
      • unsetAspectRatio

        public void unsetAspectRatio()
      • getMetrics

        public MetricsType getMetrics()
        Gets the value of the metrics property.
        Returns:
        possible object is MetricsType
      • setMetrics

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

        public boolean isSetMetrics()