home *** CD-ROM | disk | FTP | other *** search
- package java.awt;
-
- import java.awt.font.LineMetrics;
-
- final class Font$FontLineMetrics extends LineMetrics {
- int numchars;
- float ascent;
- float descent;
- float leading;
- float height;
- int baselineIndex;
- float[] baselineOffsets;
- float strikethroughOffset;
- float strikethroughThickness;
- float underlineOffset;
- float underlineThickness;
- // $FF: synthetic field
- private final Font this$0;
-
- private Font$FontLineMetrics(Font var1) {
- this.this$0 = var1;
- }
-
- public final int getNumChars() {
- return this.numchars;
- }
-
- public final float getAscent() {
- return this.ascent;
- }
-
- public final float getDescent() {
- return this.descent;
- }
-
- public final float getLeading() {
- return this.leading;
- }
-
- public final float getHeight() {
- return this.height;
- }
-
- public final int getBaselineIndex() {
- return this.baselineIndex;
- }
-
- public final float[] getBaselineOffsets() {
- return this.baselineOffsets;
- }
-
- public final float getStrikethroughOffset() {
- return this.strikethroughOffset;
- }
-
- public final float getStrikethroughThickness() {
- return this.strikethroughThickness;
- }
-
- public final float getUnderlineOffset() {
- return this.underlineOffset;
- }
-
- public final float getUnderlineThickness() {
- return this.underlineThickness;
- }
-
- public final boolean equals(Object var1) {
- if (var1 != null) {
- if (this == var1) {
- return true;
- }
-
- try {
- Font$FontLineMetrics var2 = (Font$FontLineMetrics)var1;
- return this.ascent == var2.ascent && this.descent == var2.descent && this.leading == var2.leading && this.baselineIndex == var2.baselineIndex && this.baselineOffsets[0] == var2.baselineOffsets[0] && this.baselineOffsets[1] == var2.baselineOffsets[1] && this.baselineOffsets[2] == var2.baselineOffsets[2] && this.strikethroughOffset == var2.strikethroughOffset && this.strikethroughThickness == var2.strikethroughThickness && this.underlineOffset == var2.underlineOffset && this.underlineThickness == var2.underlineThickness;
- } catch (ClassCastException var3) {
- }
- }
-
- return false;
- }
-
- // $FF: synthetic method
- Font$FontLineMetrics(Font var1, Font.1 var2) {
- this(var1);
- }
- }
-