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 represents some kern pair data.
   21    *
   22    * @author Ben Litchfield (ben@benlitchfield.com)
   23    * @version $Revision: 1.1 $
   24    */
   25   public class KernPair
   26   {
   27       private String firstKernCharacter;
   28       private String secondKernCharacter;
   29       private float x;
   30       private float y;
   31   
   32       /** Getter for property firstKernCharacter.
   33        * @return Value of property firstKernCharacter.
   34        */
   35       public java.lang.String getFirstKernCharacter()
   36       {
   37           return firstKernCharacter;
   38       }
   39   
   40       /** Setter for property firstKernCharacter.
   41        * @param firstKernCharacterValue New value of property firstKernCharacter.
   42        */
   43       public void setFirstKernCharacter(String firstKernCharacterValue)
   44       {
   45           firstKernCharacter = firstKernCharacterValue;
   46       }
   47   
   48       /** Getter for property secondKernCharacter.
   49        * @return Value of property secondKernCharacter.
   50        */
   51       public java.lang.String getSecondKernCharacter()
   52       {
   53           return secondKernCharacter;
   54       }
   55   
   56       /** Setter for property secondKernCharacter.
   57        * @param secondKernCharacterValue New value of property secondKernCharacter.
   58        */
   59       public void setSecondKernCharacter(String secondKernCharacterValue)
   60       {
   61           secondKernCharacter = secondKernCharacterValue;
   62       }
   63   
   64       /** Getter for property x.
   65        * @return Value of property x.
   66        */
   67       public float getX()
   68       {
   69           return x;
   70       }
   71   
   72       /** Setter for property x.
   73        * @param xValue New value of property x.
   74        */
   75       public void setX(float xValue)
   76       {
   77           x = xValue;
   78       }
   79   
   80       /** Getter for property y.
   81        * @return Value of property y.
   82        */
   83       public float getY()
   84       {
   85           return y;
   86       }
   87   
   88       /** Setter for property y.
   89        * @param yValue New value of property y.
   90        */
   91       public void setY(float yValue)
   92       {
   93           y = yValue;
   94       }
   95   
   96   }

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