Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   *  Copyright 2010-2012, Plutext Pty Ltd.
   *   
   *  This file is part of pptx4j, a component of docx4j.
  
      docx4j is licensed under the Apache License, Version 2.0 (the "License"); 
      you may not use this file except in compliance with the License. 
  
      You may obtain a copy of the License at 
 
         http://www.apache.org/licenses/LICENSE-2.0 
 
     Unless required by applicable law or agreed to in writing, software 
     distributed under the License is distributed on an "AS IS" BASIS, 
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
     See the License for the specific language governing permissions and 
     limitations under the License.
 
  */
 package org.pptx4j.pml;
 

Java class for CT_TLByRgbColorTransform complex type.

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

 <complexType name="CT_TLByRgbColorTransform">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="r" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_FixedPercentage" />
       <attribute name="g" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_FixedPercentage" />
       <attribute name="b" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_FixedPercentage" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_TLByRgbColorTransform")
 public class CTTLByRgbColorTransform {
 
     @XmlAttribute(name = "r", required = true)
     protected int r;
     @XmlAttribute(name = "g", required = true)
     protected int g;
     @XmlAttribute(name = "b", required = true)
     protected int b;

    
Gets the value of the r property.
 
     public int getR() {
         return ;
     }

    
Sets the value of the r property.
 
     public void setR(int value) {
         this. = value;
     }

    
Gets the value of the g property.
 
     public int getG() {
         return ;
     }

    
Sets the value of the g property.
 
     public void setG(int value) {
         this. = value;
     }

    
Gets the value of the b property.
 
     public int getB() {
         return ;
     }

    
Sets the value of the b property.
    public void setB(int value) {
        this. = value;
    }
New to GrepCode? Check out our FAQ X