public abstract class java.awt.font.GraphicAttribute
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: java.awt.font.GraphicAttribute
super_class: java.lang.Object
{
private int fAlignment;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public static final int TOP_ALIGNMENT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -1
public static final int BOTTOM_ALIGNMENT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -2
public static final int ROMAN_BASELINE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int CENTER_BASELINE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int HANGING_BASELINE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
protected void <init>(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 1
bipush -2
if_icmplt 2
iload 1
iconst_2
if_icmple 3
2: StackMap locals: java.awt.font.GraphicAttribute int
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "bad alignment"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield java.awt.font.GraphicAttribute.fAlignment:I
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/font/GraphicAttribute;
0 5 1 alignment I
MethodParameters:
Name Flags
alignment
public abstract float getAscent();
descriptor: ()F
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract float getDescent();
descriptor: ()F
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract float getAdvance();
descriptor: ()F
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public java.awt.geom.Rectangle2D getBounds();
descriptor: ()Ljava/awt/geom/Rectangle2D;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.font.GraphicAttribute.getAscent:()F
fstore 1
start local 1 1: new java.awt.geom.Rectangle2D$Float
dup
fconst_0
fload 1
fneg
2: aload 0
invokevirtual java.awt.font.GraphicAttribute.getAdvance:()F
fload 1
aload 0
invokevirtual java.awt.font.GraphicAttribute.getDescent:()F
fadd
3: invokespecial java.awt.geom.Rectangle2D$Float.<init>:(FFFF)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/font/GraphicAttribute;
1 4 1 ascent F
public java.awt.Shape getOutline(java.awt.geom.AffineTransform);
descriptor: (Ljava/awt/geom/AffineTransform;)Ljava/awt/Shape;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.awt.font.GraphicAttribute.getBounds:()Ljava/awt/geom/Rectangle2D;
astore 2
start local 2 1: aload 1
ifnull 3
2: aload 1
aload 2
invokevirtual java.awt.geom.AffineTransform.createTransformedShape:(Ljava/awt/Shape;)Ljava/awt/Shape;
astore 2
3: StackMap locals: java.awt.Shape
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/font/GraphicAttribute;
0 4 1 tx Ljava/awt/geom/AffineTransform;
1 4 2 b Ljava/awt/Shape;
MethodParameters:
Name Flags
tx
public abstract void draw(java.awt.Graphics2D, float, float);
descriptor: (Ljava/awt/Graphics2D;FF)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
graphics
x
y
public final int getAlignment();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.font.GraphicAttribute.fAlignment:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/font/GraphicAttribute;
public java.awt.font.GlyphJustificationInfo getJustificationInfo();
descriptor: ()Ljava/awt/font/GlyphJustificationInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.font.GraphicAttribute.getAdvance:()F
fstore 1
start local 1 1: new java.awt.font.GlyphJustificationInfo
dup
2: fload 1
3: iconst_0
4: iconst_2
5: fload 1
ldc 3.0
fdiv
6: fload 1
ldc 3.0
fdiv
7: iconst_0
8: iconst_1
9: fconst_0
10: fconst_0
11: invokespecial java.awt.font.GlyphJustificationInfo.<init>:(FZIFFZIFF)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/awt/font/GraphicAttribute;
1 12 1 advance F
}
SourceFile: "GraphicAttribute.java"
InnerClasses:
public Float = java.awt.geom.Rectangle2D$Float of java.awt.geom.Rectangle2D