Class ColorBackgroundType


  • public class ColorBackgroundType
    extends BackgroundBaseType
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p112675_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p263167_="https://jakarta.ee/xml/ns/jaxb" xmlns:p878401_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Adds a solid-color background layer to the document.</p>
     

    Java class for ColorBackgroundType complex type

    .

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

    
     <complexType name="ColorBackgroundType">
       <complexContent>
         <extension base="{http://schema.webpdf.de/1.0/operation}BackgroundBaseType">
           <all>
             <element name="settings" type="{http://schema.webpdf.de/1.0/operation}BackgroundBaseSettingsType" minOccurs="0"/>
           </all>
           <attribute name="color" type="{http://schema.webpdf.de/1.0/operation}RgbColorType" default="#FFFFFF" />
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • color

        protected String color
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p112675_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p263167_="https://jakarta.ee/xml/ns/jaxb" xmlns:p878401_="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 set the colour for the background layer. The colour needs to be specified as a hexadecimal RGB value with a number sign before it.</p>
         
    • Constructor Detail

      • ColorBackgroundType

        public ColorBackgroundType()
    • Method Detail

      • isSetSettings

        public boolean isSetSettings()
      • getColor

        public String getColor()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p112675_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p263167_="https://jakarta.ee/xml/ns/jaxb" xmlns:p878401_="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 set the colour for the background layer. The colour needs to be specified as a hexadecimal RGB value with a number sign before it.</p>
         
        Returns:
        possible object is String
      • setColor

        public void setColor​(String value)
        Sets the value of the color property.
        Parameters:
        value - allowed object is String
        See Also:
        getColor()
      • isSetColor

        public boolean isSetColor()