Home » pdfbox-1.1.0-src » org.apache.fontbox.afm » [javadoc | source]

    1   /*
    2    * Licensed to the Apache Software Foundation (ASF) under one or more
    3    * contributor license agreements.  See the NOTICE file distributed with
    4    * this work for additional information regarding copyright ownership.
    5    * The ASF licenses this file to You under the Apache License, Version 2.0
    6    * (the "License"); you may not use this file except in compliance with
    7    * the License.  You may obtain a copy of the License at
    8    *
    9    *      http://www.apache.org/licenses/LICENSE-2.0
   10    *
   11    * Unless required by applicable law or agreed to in writing, software
   12    * distributed under the License is distributed on an "AS IS" BASIS,
   13    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   14    * See the License for the specific language governing permissions and
   15    * limitations under the License.
   16    */
   17   package org.apache.fontbox.afm;
   18   
   19   /**
   20    * This class represents a part of composite character data.
   21    *
   22    * @author Ben Litchfield (ben@benlitchfield.com)
   23    * @version $Revision: 1.1 $
   24    */
   25   public class CompositePart
   26   {
   27       private String name;
   28       private int xDisplacement;
   29       private int yDisplacement;
   30   
   31       /** Getter for property name.
   32        * @return Value of property name.
   33        */
   34       public java.lang.String getName()
   35       {
   36           return name;
   37       }
   38   
   39       /** Setter for property name.
   40        * @param nameValue New value of property name.
   41        */
   42       public void setName(String nameValue)
   43       {
   44           name = nameValue;
   45       }
   46   
   47       /** Getter for property xDisplacement.
   48        * @return Value of property xDisplacement.
   49        */
   50       public int getXDisplacement()
   51       {
   52           return xDisplacement;
   53       }
   54   
   55       /** Setter for property xDisplacement.
   56        * @param xDisp New value of property xDisplacement.
   57        */
   58       public void setXDisplacement(int xDisp)
   59       {
   60           xDisplacement = xDisp;
   61       }
   62   
   63       /** Getter for property yDisplacement.
   64        * @return Value of property yDisplacement.
   65        */
   66       public int getYDisplacement()
   67       {
   68           return yDisplacement;
   69       }
   70   
   71       /** Setter for property yDisplacement.
   72        * @param yDisp New value of property yDisplacement.
   73        */
   74       public void setYDisplacement(int yDisp)
   75       {
   76           yDisplacement = yDisp;
   77       }
   78   
   79   }

Home » pdfbox-1.1.0-src » org.apache.fontbox.afm » [javadoc | source]