org.apache.fontbox.afm.KernPair Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.fop Show documentation
Show all versions of org.apache.fop Show documentation
The core maven build properties
The newest version!
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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.apache.fontbox.afm;
/**
* This represents some kern pair data.
*
* @author Ben Litchfield
*/
public class KernPair
{
private String firstKernCharacter;
private String secondKernCharacter;
private float x;
private float y;
/** Getter for property firstKernCharacter.
* @return Value of property firstKernCharacter.
*/
public java.lang.String getFirstKernCharacter()
{
return firstKernCharacter;
}
/** Setter for property firstKernCharacter.
* @param firstKernCharacterValue New value of property firstKernCharacter.
*/
public void setFirstKernCharacter(String firstKernCharacterValue)
{
firstKernCharacter = firstKernCharacterValue;
}
/** Getter for property secondKernCharacter.
* @return Value of property secondKernCharacter.
*/
public java.lang.String getSecondKernCharacter()
{
return secondKernCharacter;
}
/** Setter for property secondKernCharacter.
* @param secondKernCharacterValue New value of property secondKernCharacter.
*/
public void setSecondKernCharacter(String secondKernCharacterValue)
{
secondKernCharacter = secondKernCharacterValue;
}
/** Getter for property x.
* @return Value of property x.
*/
public float getX()
{
return x;
}
/** Setter for property x.
* @param xValue New value of property x.
*/
public void setX(float xValue)
{
x = xValue;
}
/** Getter for property y.
* @return Value of property y.
*/
public float getY()
{
return y;
}
/** Setter for property y.
* @param yValue New value of property y.
*/
public void setY(float yValue)
{
y = yValue;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy