public class com.sun.javafx.tk.FontMetrics
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.javafx.tk.FontMetrics
super_class: java.lang.Object
{
private float maxAscent;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float ascent;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float xheight;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private int baseline;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private float descent;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float maxDescent;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float leading;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float lineHeight;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private javafx.scene.text.Font font;
descriptor: Ljavafx/scene/text/Font;
flags: (0x0002) ACC_PRIVATE
public static com.sun.javafx.tk.FontMetrics createFontMetrics(float, float, float, float, float, float, javafx.scene.text.Font);
descriptor: (FFFFFFLjavafx/scene/text/Font;)Lcom/sun/javafx/tk/FontMetrics;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: new com.sun.javafx.tk.FontMetrics
dup
fload 0
fload 1
fload 2
fload 3
fload 4
fload 5
aload 6
invokespecial com.sun.javafx.tk.FontMetrics.<init>:(FFFFFFLjavafx/scene/text/Font;)V
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 maxAscent F
0 1 1 ascent F
0 1 2 xheight F
0 1 3 descent F
0 1 4 maxDescent F
0 1 5 leading F
0 1 6 font Ljavafx/scene/text/Font;
MethodParameters:
Name Flags
maxAscent
ascent
xheight
descent
maxDescent
leading
font
public final float getMaxAscent();
descriptor: ()F
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.FontMetrics.maxAscent:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/FontMetrics;
public final float getAscent();
descriptor: ()F
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.FontMetrics.ascent:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/FontMetrics;
public final float getXheight();
descriptor: ()F
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.FontMetrics.xheight:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/FontMetrics;
public final int getBaseline();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.FontMetrics.baseline:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/FontMetrics;
public final float getDescent();
descriptor: ()F
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.FontMetrics.descent:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/FontMetrics;
public final float getMaxDescent();
descriptor: ()F
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.FontMetrics.maxDescent:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/FontMetrics;
public final float getLeading();
descriptor: ()F
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.FontMetrics.leading:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/FontMetrics;
public final float getLineHeight();
descriptor: ()F
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.FontMetrics.lineHeight:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/FontMetrics;
public final javafx.scene.text.Font getFont();
descriptor: ()Ljavafx/scene/text/Font;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.FontMetrics.font:Ljavafx/scene/text/Font;
ifnonnull 2
1: aload 0
invokestatic javafx.scene.text.Font.getDefault:()Ljavafx/scene/text/Font;
putfield com.sun.javafx.tk.FontMetrics.font:Ljavafx/scene/text/Font;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.tk.FontMetrics.font:Ljavafx/scene/text/Font;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/tk/FontMetrics;
public void <init>(float, float, float, float, float, float, javafx.scene.text.Font);
descriptor: (FFFFFFLjavafx/scene/text/Font;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
fload 1
putfield com.sun.javafx.tk.FontMetrics.maxAscent:F
2: aload 0
fload 2
putfield com.sun.javafx.tk.FontMetrics.ascent:F
3: aload 0
fload 3
putfield com.sun.javafx.tk.FontMetrics.xheight:F
4: aload 0
fload 4
putfield com.sun.javafx.tk.FontMetrics.descent:F
5: aload 0
fload 5
putfield com.sun.javafx.tk.FontMetrics.maxDescent:F
6: aload 0
fload 6
putfield com.sun.javafx.tk.FontMetrics.leading:F
7: aload 0
aload 7
putfield com.sun.javafx.tk.FontMetrics.font:Ljavafx/scene/text/Font;
8: aload 0
fload 1
fload 5
fadd
fload 6
fadd
putfield com.sun.javafx.tk.FontMetrics.lineHeight:F
9: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/javafx/tk/FontMetrics;
0 10 1 maxAscent F
0 10 2 ascent F
0 10 3 xheight F
0 10 4 descent F
0 10 5 maxDescent F
0 10 6 leading F
0 10 7 font Ljavafx/scene/text/Font;
MethodParameters:
Name Flags
maxAscent
ascent
xheight
descent
maxDescent
leading
font
public float getCharWidth(char);
descriptor: (C)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.sun.javafx.tk.Toolkit.getToolkit:()Lcom/sun/javafx/tk/Toolkit;
invokevirtual com.sun.javafx.tk.Toolkit.getFontLoader:()Lcom/sun/javafx/tk/FontLoader;
iload 1
aload 0
invokevirtual com.sun.javafx.tk.FontMetrics.getFont:()Ljavafx/scene/text/Font;
invokevirtual com.sun.javafx.tk.FontLoader.getCharWidth:(CLjavafx/scene/text/Font;)F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/FontMetrics;
0 1 1 ch C
MethodParameters:
Name Flags
ch
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "FontMetrics: [maxAscent="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.sun.javafx.tk.FontMetrics.getMaxAscent:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
1: ldc ", ascent="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.sun.javafx.tk.FontMetrics.getAscent:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
2: ldc ", xheight="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.sun.javafx.tk.FontMetrics.getXheight:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
3: ldc ", baseline="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.sun.javafx.tk.FontMetrics.getBaseline:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
4: ldc ", descent="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.sun.javafx.tk.FontMetrics.getDescent:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
5: ldc ", maxDescent="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.sun.javafx.tk.FontMetrics.getMaxDescent:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
6: ldc ", leading="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.sun.javafx.tk.FontMetrics.getLeading:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
7: ldc ", lineHeight="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.sun.javafx.tk.FontMetrics.getLineHeight:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
8: ldc ", font="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.sun.javafx.tk.FontMetrics.getFont:()Ljavafx/scene/text/Font;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/javafx/tk/FontMetrics;
}
SourceFile: "FontMetrics.java"