/* NOTICE: This file has been changed by Plutext Pty Ltd for use in docx4j. * The package name has been changed; there may also be other changes. * * This notice is included to meet the condition in clause 4(b) of the License. */ /* * 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. */ /* $Id: AFMWritingDirectionMetrics.java 679326 2008-07-24 09:35:34Z vhennebert $ */ package org.docx4j.fonts.fop.fonts.type1; /** * Represents a writing direction metrics section from an AFM file. */ public class AFMWritingDirectionMetrics { private Number underlinePosition; private Number underlineThickness; private double italicAngle; private boolean isFixedPitch; /** * Returns the UnderlinePosition value. * @return the underlinePosition */ public Number getUnderlinePosition() { return underlinePosition; } /** * Sets the UnderlinePosition value. * @param underlinePosition the underlinePosition to set */ public void setUnderlinePosition(Number underlinePosition) { this.underlinePosition = underlinePosition; } /** * Returns the UnderlineThickness value. * @return the underlineThickness */ public Number getUnderlineThickness() { return underlineThickness; } /** * Sets the UnderlineThickness value. * @param underlineThickness the underlineThickness to set */ public void setUnderlineThickness(Number underlineThickness) { this.underlineThickness = underlineThickness; } /** * Returns the ItalicAngle value. * @return the italicAngle */ public double getItalicAngle() { return italicAngle; } /** * Sets the ItalicAngle value. * @param italicAngle the italicAngle to set */ public void setItalicAngle(double italicAngle) { this.italicAngle = italicAngle; } /** * Returns the IsFixedPitch value. * @return the isFixedPitch */ public boolean isFixedPitch() { return isFixedPitch; } /** * Set the IsFixedPitch value. * @param value the isFixedPitch to set */ public void setFixedPitch(boolean value) { this.isFixedPitch = value; } }