Class AppearanceImageType


  • public class AppearanceImageType
    extends AppearanceType
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to define an image resource for an annotation's appearance generation.</p>
     

    Java class for AppearanceImageType complex type

    .

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

    
     <complexType name="AppearanceImageType">
       <complexContent>
         <extension base="{http://schema.webpdf.de/1.0/operation}AppearanceType">
           <all>
             <element name="data" type="{http://schema.webpdf.de/1.0/operation}AppearanceFileDataType"/>
           </all>
           <attribute name="preserveAspectRatio" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • preserveAspectRatio

        protected Boolean preserveAspectRatio
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Specifies whether the aspect ratio should be maintained when scaling the annotation.</p>
         
    • Constructor Detail

      • AppearanceImageType

        public AppearanceImageType()
    • Method Detail

      • isSetData

        public boolean isSetData()
      • isPreserveAspectRatio

        public boolean isPreserveAspectRatio()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p478056_="https://jakarta.ee/xml/ns/jaxb" xmlns:p587657_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p878301_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Specifies whether the aspect ratio should be maintained when scaling the annotation.</p>
         
        Returns:
        possible object is Boolean
      • setPreserveAspectRatio

        public void setPreserveAspectRatio​(boolean value)
        Sets the value of the preserveAspectRatio property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isPreserveAspectRatio()
      • isSetPreserveAspectRatio

        public boolean isSetPreserveAspectRatio()
      • unsetPreserveAspectRatio

        public void unsetPreserveAspectRatio()