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 piece of track kerning data.
   21    *
   22    * @author Ben Litchfield (ben@benlitchfield.com)
   23    * @version $Revision: 1.1 $
   24    */
   25   public class TrackKern
   26   {
   27       private int degree;
   28       private float minPointSize;
   29       private float minKern;
   30       private float maxPointSize;
   31       private float maxKern;
   32   
   33       /** Getter for property degree.
   34        * @return Value of property degree.
   35        */
   36       public int getDegree()
   37       {
   38           return degree;
   39       }
   40   
   41       /** Setter for property degree.
   42        * @param degreeValue New value of property degree.
   43        */
   44       public void setDegree(int degreeValue)
   45       {
   46           degree = degreeValue;
   47       }
   48   
   49       /** Getter for property maxKern.
   50        * @return Value of property maxKern.
   51        */
   52       public float getMaxKern()
   53       {
   54           return maxKern;
   55       }
   56   
   57       /** Setter for property maxKern.
   58        * @param maxKernValue New value of property maxKern.
   59        */
   60       public void setMaxKern(float maxKernValue)
   61       {
   62           maxKern = maxKernValue;
   63       }
   64   
   65       /** Getter for property maxPointSize.
   66        * @return Value of property maxPointSize.
   67        */
   68       public float getMaxPointSize()
   69       {
   70           return maxPointSize;
   71       }
   72   
   73       /** Setter for property maxPointSize.
   74        * @param maxPointSizeValue New value of property maxPointSize.
   75        */
   76       public void setMaxPointSize(float maxPointSizeValue)
   77       {
   78           maxPointSize = maxPointSizeValue;
   79       }
   80   
   81       /** Getter for property minKern.
   82        * @return Value of property minKern.
   83        */
   84       public float getMinKern()
   85       {
   86           return minKern;
   87       }
   88   
   89       /** Setter for property minKern.
   90        * @param minKernValue New value of property minKern.
   91        */
   92       public void setMinKern(float minKernValue)
   93       {
   94           minKern = minKernValue;
   95       }
   96   
   97       /** Getter for property minPointSize.
   98        * @return Value of property minPointSize.
   99        */
  100       public float getMinPointSize()
  101       {
  102           return minPointSize;
  103       }
  104   
  105       /** Setter for property minPointSize.
  106        * @param minPointSizeValue New value of property minPointSize.
  107        */
  108       public void setMinPointSize(float minPointSizeValue)
  109       {
  110           minPointSize = minPointSizeValue;
  111       }
  112   
  113   }

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