Class WatermarkImageType


  • public class WatermarkImageType
    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 add an image as a watermark.</p>
     

    Java class for WatermarkImageType complex type.

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

    
     <complexType name="WatermarkImageType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <all>
             <element name="data" type="{http://schema.webpdf.de/1.0/operation}WatermarkFileDataType"/>
             <element name="position" type="{http://schema.webpdf.de/1.0/operation}WatermarkPositionType" minOccurs="0"/>
           </all>
           <attribute name="scale" default="0">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="0"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="opacity" type="{http://schema.webpdf.de/1.0/operation}OpacityType" default="25" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • WatermarkImageType

        public WatermarkImageType()
    • Method Detail

      • isSetData

        public boolean isSetData()
      • isSetPosition

        public boolean isSetPosition()
      • getScale

        public int getScale()
        Gets the value of the scale property.
        Returns:
        possible object is Integer
      • setScale

        public void setScale​(int value)
        Sets the value of the scale property.
        Parameters:
        value - allowed object is Integer
      • isSetScale

        public boolean isSetScale()
      • unsetScale

        public void unsetScale()
      • getOpacity

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

        public void setOpacity​(int value)
        Sets the value of the opacity property.
        Parameters:
        value - allowed object is Integer
      • isSetOpacity

        public boolean isSetOpacity()
      • unsetOpacity

        public void unsetOpacity()