8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * This code is free software; you can redistribute it and/or modify it
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * under the terms of the GNU General Public License version 2 only, as
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * published by the Free Software Foundation. Oracle designates this
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * particular file as subject to the "Classpath" exception as provided
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * by Oracle in the LICENSE file that accompanied this code.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * This code is distributed in the hope that it will be useful, but WITHOUT
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * version 2 for more details (a copy is included in the LICENSE file that
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * accompanied this code).
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * You should have received a copy of the GNU General Public License version
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * 2 along with this work; if not, write to the Free Software Foundation,
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * or visit www.oracle.com if you need additional information or have any
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * questions.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * (C) Copyright IBM Corp. 2003, All Rights Reserved
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Metrics from a font for layout of characters along a line
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * and layout of set of lines.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * This and CoreMetrics replace what was previously a private internal class of Font
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterpublic final class FontLineMetrics extends LineMetrics implements Cloneable {
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public FontLineMetrics(int numchars, CoreMetrics cm, FontRenderContext frc) {
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public final float getStrikethroughThickness() {
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster return false;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster // frc, cm do not need deep clone
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster return super.clone();