public class com.sun.javafx.sg.prism.NGPolygon extends com.sun.javafx.sg.prism.NGShape
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.javafx.sg.prism.NGPolygon
super_class: com.sun.javafx.sg.prism.NGShape
{
private com.sun.javafx.geom.Path2D path;
descriptor: Lcom/sun/javafx/geom/Path2D;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.javafx.sg.prism.NGShape.<init>:()V
1: aload 0
new com.sun.javafx.geom.Path2D
dup
invokespecial com.sun.javafx.geom.Path2D.<init>:()V
putfield com.sun.javafx.sg.prism.NGPolygon.path:Lcom/sun/javafx/geom/Path2D;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/sg/prism/NGPolygon;
public void updatePolygon(float[]);
descriptor: ([F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.javafx.sg.prism.NGPolygon.path:Lcom/sun/javafx/geom/Path2D;
invokevirtual com.sun.javafx.geom.Path2D.reset:()V
1: aload 1
ifnull 2
aload 1
arraylength
ifeq 2
aload 1
arraylength
iconst_2
irem
ifeq 3
2: StackMap locals:
StackMap stack:
return
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGPolygon.path:Lcom/sun/javafx/geom/Path2D;
aload 1
iconst_0
faload
aload 1
iconst_1
faload
invokevirtual com.sun.javafx.geom.Path2D.moveTo:(FF)V
4: iconst_1
istore 2
start local 2 5: goto 10
6: StackMap locals: int
StackMap stack:
aload 1
iload 2
iconst_2
imul
iconst_0
iadd
faload
fstore 3
start local 3 7: aload 1
iload 2
iconst_2
imul
iconst_1
iadd
faload
fstore 4
start local 4 8: aload 0
getfield com.sun.javafx.sg.prism.NGPolygon.path:Lcom/sun/javafx/geom/Path2D;
fload 3
fload 4
invokevirtual com.sun.javafx.geom.Path2D.lineTo:(FF)V
end local 4 end local 3 9: iinc 2 1
StackMap locals:
StackMap stack:
10: iload 2
aload 1
arraylength
iconst_2
idiv
if_icmplt 6
end local 2 11: aload 0
getfield com.sun.javafx.sg.prism.NGPolygon.path:Lcom/sun/javafx/geom/Path2D;
invokevirtual com.sun.javafx.geom.Path2D.closePath:()V
12: aload 0
invokevirtual com.sun.javafx.sg.prism.NGPolygon.geometryChanged:()V
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/javafx/sg/prism/NGPolygon;
0 14 1 points [F
5 11 2 i I
7 9 3 px F
8 9 4 py F
MethodParameters:
Name Flags
points
public com.sun.javafx.geom.Shape getShape();
descriptor: ()Lcom/sun/javafx/geom/Shape;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.sg.prism.NGPolygon.path:Lcom/sun/javafx/geom/Path2D;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/sg/prism/NGPolygon;
}
SourceFile: "NGPolygon.java"