Class AppearanceSvgType


  • public class AppearanceSvgType
    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 a svg resource for an annotation's appearance generation.</p>
     

    Java class for AppearanceSvgType complex type

    .

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

    
     <complexType name="AppearanceSvgType">
       <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" />
           <attribute name="aspectRatioAxis" type="{http://schema.webpdf.de/1.0/operation}AxisType" default="x" />
         </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>
         
      • aspectRatioAxis

        protected AxisType aspectRatioAxis
         <?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">Selects the dominant scaling axis, for aspect ratio aware scaling operations of SVGs.</p>
         
    • Constructor Detail

      • AppearanceSvgType

        public AppearanceSvgType()
    • 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()
      • getAspectRatioAxis

        public AxisType getAspectRatioAxis()
         <?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">Selects the dominant scaling axis, for aspect ratio aware scaling operations of SVGs.</p>
         
        Returns:
        possible object is AxisType
      • setAspectRatioAxis

        public void setAspectRatioAxis​(AxisType value)
        Sets the value of the aspectRatioAxis property.
        Parameters:
        value - allowed object is AxisType
        See Also:
        getAspectRatioAxis()
      • isSetAspectRatioAxis

        public boolean isSetAspectRatioAxis()