class javax.swing.plaf.nimbus.DropShadowEffect extends javax.swing.plaf.nimbus.ShadowEffect
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.nimbus.DropShadowEffect
super_class: javax.swing.plaf.nimbus.ShadowEffect
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.nimbus.ShadowEffect.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/nimbus/DropShadowEffect;
javax.swing.plaf.nimbus.Effect$EffectType getEffectType();
descriptor: ()Ljavax/swing/plaf/nimbus/Effect$EffectType;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic javax.swing.plaf.nimbus.Effect$EffectType.UNDER:Ljavax/swing/plaf/nimbus/Effect$EffectType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/nimbus/DropShadowEffect;
java.awt.image.BufferedImage applyEffect(java.awt.image.BufferedImage, java.awt.image.BufferedImage, int, int);
descriptor: (Ljava/awt/image/BufferedImage;Ljava/awt/image/BufferedImage;II)Ljava/awt/image/BufferedImage;
flags: (0x0000)
Code:
stack=6, locals=28, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
ifnull 1
aload 1
invokevirtual java.awt.image.BufferedImage.getType:()I
iconst_2
if_icmpeq 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Effect only works with source images of type BufferedImage.TYPE_INT_ARGB."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
ifnull 4
aload 2
invokevirtual java.awt.image.BufferedImage.getType:()I
iconst_2
if_icmpeq 4
3: new java.lang.IllegalArgumentException
dup
ldc "Effect only works with destination images of type BufferedImage.TYPE_INT_ARGB."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.nimbus.DropShadowEffect.angle:I
bipush 90
isub
i2d
invokestatic java.lang.Math.toRadians:(D)D
dstore 5
start local 5 5: dload 5
invokestatic java.lang.Math.sin:(D)D
aload 0
getfield javax.swing.plaf.nimbus.DropShadowEffect.distance:I
i2d
dmul
d2i
istore 7
start local 7 6: dload 5
invokestatic java.lang.Math.cos:(D)D
aload 0
getfield javax.swing.plaf.nimbus.DropShadowEffect.distance:I
i2d
dmul
d2i
istore 8
start local 8 7: iload 7
aload 0
getfield javax.swing.plaf.nimbus.DropShadowEffect.size:I
iadd
istore 9
start local 9 8: iload 7
aload 0
getfield javax.swing.plaf.nimbus.DropShadowEffect.size:I
iadd
istore 10
start local 10 9: iload 3
iload 7
iadd
aload 0
getfield javax.swing.plaf.nimbus.DropShadowEffect.size:I
iadd
aload 0
getfield javax.swing.plaf.nimbus.DropShadowEffect.size:I
iadd
istore 11
start local 11 10: iload 4
iload 7
iadd
aload 0
getfield javax.swing.plaf.nimbus.DropShadowEffect.size:I
iadd
istore 12
start local 12 11: invokestatic javax.swing.plaf.nimbus.DropShadowEffect.getArrayCache:()Ljavax/swing/plaf/nimbus/Effect$ArrayCache;
iload 3
invokevirtual javax.swing.plaf.nimbus.Effect$ArrayCache.getTmpIntArray:(I)[I
astore 13
start local 13 12: invokestatic javax.swing.plaf.nimbus.DropShadowEffect.getArrayCache:()Ljavax/swing/plaf/nimbus/Effect$ArrayCache;
iload 11
iload 12
imul
invokevirtual javax.swing.plaf.nimbus.Effect$ArrayCache.getTmpByteArray1:(I)[B
astore 14
start local 14 13: aload 14
iconst_0
invokestatic java.util.Arrays.fill:([BB)V
14: invokestatic javax.swing.plaf.nimbus.DropShadowEffect.getArrayCache:()Ljavax/swing/plaf/nimbus/Effect$ArrayCache;
iload 11
iload 12
imul
invokevirtual javax.swing.plaf.nimbus.Effect$ArrayCache.getTmpByteArray2:(I)[B
astore 15
start local 15 15: aload 1
invokevirtual java.awt.image.BufferedImage.getRaster:()Ljava/awt/image/WritableRaster;
astore 16
start local 16 16: iconst_0
istore 17
start local 17 17: goto 28
18: StackMap locals: javax.swing.plaf.nimbus.DropShadowEffect java.awt.image.BufferedImage java.awt.image.BufferedImage int int double int int int int int int int[] byte[] byte[] java.awt.image.Raster int
StackMap stack:
iload 17
iload 10
iadd
istore 18
start local 18 19: iload 18
iload 11
imul
istore 19
start local 19 20: aload 16
iconst_0
iload 17
iload 3
iconst_1
aload 13
invokevirtual java.awt.image.Raster.getDataElements:(IIIILjava/lang/Object;)Ljava/lang/Object;
pop
21: iconst_0
istore 20
start local 20 22: goto 26
23: StackMap locals: int int int
StackMap stack:
iload 20
iload 9
iadd
istore 21
start local 21 24: aload 14
iload 19
iload 21
iadd
aload 13
iload 20
iaload
ldc -16777216
iand
bipush 24
iushr
i2b
bastore
end local 21 25: iinc 20 1
StackMap locals:
StackMap stack:
26: iload 20
iload 3
if_icmplt 23
end local 20 end local 19 end local 18 27: iinc 17 1
StackMap locals:
StackMap stack:
28: iload 17
iload 4
if_icmplt 18
end local 17 29: aload 0
getfield javax.swing.plaf.nimbus.DropShadowEffect.size:I
invokestatic javax.swing.plaf.nimbus.EffectUtils.createGaussianKernel:(I)[F
astore 17
start local 17 30: aload 14
aload 15
iload 11
iload 12
aload 17
aload 0
getfield javax.swing.plaf.nimbus.DropShadowEffect.size:I
invokestatic javax.swing.plaf.nimbus.EffectUtils.blur:([B[BII[FI)V
31: aload 15
aload 14
iload 12
iload 11
aload 17
aload 0
getfield javax.swing.plaf.nimbus.DropShadowEffect.size:I
invokestatic javax.swing.plaf.nimbus.EffectUtils.blur:([B[BII[FI)V
32: fconst_1
fconst_1
ldc 0.01
aload 0
getfield javax.swing.plaf.nimbus.DropShadowEffect.spread:I
i2f
fmul
fsub
fdiv
ldc 255.0
invokestatic java.lang.Math.min:(FF)F
fstore 18
start local 18 33: iconst_0
istore 19
start local 19 34: goto 40
35: StackMap locals: javax.swing.plaf.nimbus.DropShadowEffect java.awt.image.BufferedImage java.awt.image.BufferedImage int int double int int int int int int int[] byte[] byte[] java.awt.image.Raster float[] float int
StackMap stack:
aload 14
iload 19
baload
sipush 255
iand
i2f
fload 18
fmul
f2i
istore 20
start local 20 36: aload 14
iload 19
iload 20
sipush 255
if_icmple 37
iconst_m1
goto 38
StackMap locals: javax.swing.plaf.nimbus.DropShadowEffect java.awt.image.BufferedImage java.awt.image.BufferedImage int int double int int int int int int int[] byte[] byte[] java.awt.image.Raster float[] float int int
StackMap stack: byte[] int
37: iload 20
i2b
StackMap locals: javax.swing.plaf.nimbus.DropShadowEffect java.awt.image.BufferedImage java.awt.image.BufferedImage int int double int int int int int int int[] byte[] byte[] java.awt.image.Raster float[] float int int
StackMap stack: byte[] int int
38: bastore
end local 20 39: iinc 19 1
StackMap locals:
StackMap stack:
40: iload 19
aload 14
arraylength
if_icmplt 35
end local 19 41: aload 2
ifnonnull 43
new java.awt.image.BufferedImage
dup
iload 3
iload 4
42: iconst_2
invokespecial java.awt.image.BufferedImage.<init>:(III)V
astore 2
43: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.awt.image.BufferedImage.getRaster:()Ljava/awt/image/WritableRaster;
astore 19
start local 19 44: aload 0
getfield javax.swing.plaf.nimbus.DropShadowEffect.color:Ljava/awt/Color;
invokevirtual java.awt.Color.getRed:()I
istore 20
start local 20 45: aload 0
getfield javax.swing.plaf.nimbus.DropShadowEffect.color:Ljava/awt/Color;
invokevirtual java.awt.Color.getGreen:()I
istore 21
start local 21 46: aload 0
getfield javax.swing.plaf.nimbus.DropShadowEffect.color:Ljava/awt/Color;
invokevirtual java.awt.Color.getBlue:()I
istore 22
start local 22 47: iconst_0
istore 23
start local 23 48: goto 59
49: StackMap locals: javax.swing.plaf.nimbus.DropShadowEffect java.awt.image.BufferedImage java.awt.image.BufferedImage int int double int int int int int int int[] byte[] byte[] java.awt.image.Raster float[] float java.awt.image.WritableRaster int int int int
StackMap stack:
iload 23
iload 10
iadd
istore 24
start local 24 50: iload 24
iload 8
isub
iload 11
imul
istore 25
start local 25 51: iconst_0
istore 26
start local 26 52: goto 56
53: StackMap locals: int int int
StackMap stack:
iload 26
iload 9
iadd
istore 27
start local 27 54: aload 13
iload 26
aload 14
iload 25
iload 27
iload 7
isub
iadd
baload
bipush 24
ishl
iload 20
bipush 16
ishl
ior
iload 21
bipush 8
ishl
ior
iload 22
ior
iastore
end local 27 55: iinc 26 1
StackMap locals:
StackMap stack:
56: iload 26
iload 3
if_icmplt 53
end local 26 57: aload 19
iconst_0
iload 23
iload 3
iconst_1
aload 13
invokevirtual java.awt.image.WritableRaster.setDataElements:(IIIILjava/lang/Object;)V
end local 25 end local 24 58: iinc 23 1
StackMap locals:
StackMap stack:
59: iload 23
iload 4
if_icmplt 49
end local 23 60: aload 2
areturn
end local 22 end local 21 end local 20 end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 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 61 0 this Ljavax/swing/plaf/nimbus/DropShadowEffect;
0 61 1 src Ljava/awt/image/BufferedImage;
0 61 2 dst Ljava/awt/image/BufferedImage;
0 61 3 w I
0 61 4 h I
5 61 5 trangleAngle D
6 61 7 offsetX I
7 61 8 offsetY I
8 61 9 tmpOffX I
9 61 10 tmpOffY I
10 61 11 tmpW I
11 61 12 tmpH I
12 61 13 lineBuf [I
13 61 14 tmpBuf1 [B
15 61 15 tmpBuf2 [B
16 61 16 srcRaster Ljava/awt/image/Raster;
17 29 17 y I
19 27 18 dy I
20 27 19 offset I
22 27 20 x I
24 25 21 dx I
30 61 17 kernel [F
33 61 18 spread F
34 41 19 i I
36 39 20 val I
44 61 19 shadowRaster Ljava/awt/image/WritableRaster;
45 61 20 red I
46 61 21 green I
47 61 22 blue I
48 60 23 y I
50 58 24 srcY I
51 58 25 shadowOffset I
52 57 26 x I
54 55 27 srcX I
MethodParameters:
Name Flags
src
dst
w
h
}
SourceFile: "DropShadowEffect.java"
InnerClasses:
protected ArrayCache = javax.swing.plaf.nimbus.Effect$ArrayCache of javax.swing.plaf.nimbus.Effect
final EffectType = javax.swing.plaf.nimbus.Effect$EffectType of javax.swing.plaf.nimbus.Effect