class sun.java2d.xr.XRPaints$XRLinearGradient extends sun.java2d.xr.XRPaints
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.java2d.xr.XRPaints$XRLinearGradient
super_class: sun.java2d.xr.XRPaints
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 // sun.java2d.xr.XRPaints$XRLinearGradient this
0: .line 141
aload 0 /* this */
invokespecial sun.java2d.xr.XRPaints.<init>:()V
return
end local 0 // sun.java2d.xr.XRPaints$XRLinearGradient this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/xr/XRPaints$XRLinearGradient;
boolean isPaintValid(sun.java2d.SunGraphics2D);
descriptor: (Lsun/java2d/SunGraphics2D;)Z
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 // sun.java2d.xr.XRPaints$XRLinearGradient this
start local 1 // sun.java2d.SunGraphics2D sg2d
0: .line 145
iconst_1
ireturn
end local 1 // sun.java2d.SunGraphics2D sg2d
end local 0 // sun.java2d.xr.XRPaints$XRLinearGradient this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/xr/XRPaints$XRLinearGradient;
0 1 1 sg2d Lsun/java2d/SunGraphics2D;
MethodParameters:
Name Flags
sg2d
void setXRPaint(sun.java2d.SunGraphics2D, java.awt.Paint);
descriptor: (Lsun/java2d/SunGraphics2D;Ljava/awt/Paint;)V
flags: (0x0000)
Code:
stack=7, locals=14, args_size=3
start local 0 // sun.java2d.xr.XRPaints$XRLinearGradient this
start local 1 // sun.java2d.SunGraphics2D sg2d
start local 2 // java.awt.Paint pt
0: .line 150
aload 2 /* pt */
checkcast java.awt.LinearGradientPaint
astore 3 /* paint */
start local 3 // java.awt.LinearGradientPaint paint
1: .line 151
aload 3 /* paint */
invokevirtual java.awt.LinearGradientPaint.getColorSpace:()Ljava/awt/MultipleGradientPaint$ColorSpaceType;
getstatic java.awt.MultipleGradientPaint$ColorSpaceType.LINEAR_RGB:Ljava/awt/MultipleGradientPaint$ColorSpaceType;
if_acmpne 2
iconst_1
goto 3
StackMap locals: java.awt.LinearGradientPaint
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 4 /* linear */
start local 4 // boolean linear
4: .line 153
aload 3 /* paint */
invokevirtual java.awt.LinearGradientPaint.getColors:()[Ljava/awt/Color;
astore 5 /* colors */
start local 5 // java.awt.Color[] colors
5: .line 154
aload 3 /* paint */
invokevirtual java.awt.LinearGradientPaint.getStartPoint:()Ljava/awt/geom/Point2D;
astore 6 /* pt1 */
start local 6 // java.awt.geom.Point2D pt1
6: .line 155
aload 3 /* paint */
invokevirtual java.awt.LinearGradientPaint.getEndPoint:()Ljava/awt/geom/Point2D;
astore 7 /* pt2 */
start local 7 // java.awt.geom.Point2D pt2
7: .line 158
aload 3 /* paint */
invokevirtual java.awt.LinearGradientPaint.getTransform:()Ljava/awt/geom/AffineTransform;
astore 8 /* at */
start local 8 // java.awt.geom.AffineTransform at
8: .line 159
aload 8 /* at */
aload 1 /* sg2d */
getfield sun.java2d.SunGraphics2D.transform:Ljava/awt/geom/AffineTransform;
invokevirtual java.awt.geom.AffineTransform.preConcatenate:(Ljava/awt/geom/AffineTransform;)V
9: .line 161
aload 3 /* paint */
invokevirtual java.awt.LinearGradientPaint.getCycleMethod:()Ljava/awt/MultipleGradientPaint$CycleMethod;
invokestatic sun.java2d.xr.XRUtils.getRepeatForCycleMethod:(Ljava/awt/MultipleGradientPaint$CycleMethod;)I
istore 9 /* repeat */
start local 9 // int repeat
10: .line 162
aload 3 /* paint */
invokevirtual java.awt.LinearGradientPaint.getFractions:()[F
astore 10 /* fractions */
start local 10 // float[] fractions
11: .line 163
aload 0 /* this */
aload 5 /* colors */
iload 4 /* linear */
invokevirtual sun.java2d.xr.XRPaints$XRLinearGradient.convertToIntArgbPixels:([Ljava/awt/Color;Z)[I
astore 11 /* pixels */
start local 11 // int[] pixels
12: .line 166
aload 8 /* at */
invokevirtual java.awt.geom.AffineTransform.invert:()V
13: .line 167
goto 16
StackMap locals: sun.java2d.xr.XRPaints$XRLinearGradient sun.java2d.SunGraphics2D java.awt.Paint java.awt.LinearGradientPaint int java.awt.Color[] java.awt.geom.Point2D java.awt.geom.Point2D java.awt.geom.AffineTransform int float[] int[]
StackMap stack: java.awt.geom.NoninvertibleTransformException
14: astore 12 /* ex */
start local 12 // java.awt.geom.NoninvertibleTransformException ex
15: .line 168
aload 12 /* ex */
invokevirtual java.awt.geom.NoninvertibleTransformException.printStackTrace:()V
end local 12 // java.awt.geom.NoninvertibleTransformException ex
16: .line 171
StackMap locals:
StackMap stack:
getstatic sun.java2d.xr.XRPaints$XRLinearGradient.xrCompMan:Lsun/java2d/xr/XRCompositeManager;
invokevirtual sun.java2d.xr.XRCompositeManager.getBackend:()Lsun/java2d/xr/XRBackend;
astore 12 /* con */
start local 12 // sun.java2d.xr.XRBackend con
17: .line 172
aload 12 /* con */
aload 6 /* pt1 */
aload 7 /* pt2 */
aload 10 /* fractions */
aload 11 /* pixels */
iload 9 /* repeat */
aload 8 /* at */
invokeinterface sun.java2d.xr.XRBackend.createLinearGradient:(Ljava/awt/geom/Point2D;Ljava/awt/geom/Point2D;[F[IILjava/awt/geom/AffineTransform;)I
istore 13 /* gradient */
start local 13 // int gradient
18: .line 173
getstatic sun.java2d.xr.XRPaints$XRLinearGradient.xrCompMan:Lsun/java2d/xr/XRCompositeManager;
new sun.java2d.xr.XRSurfaceData$XRInternalSurfaceData
dup
aload 12 /* con */
iload 13 /* gradient */
aload 8 /* at */
invokespecial sun.java2d.xr.XRSurfaceData$XRInternalSurfaceData.<init>:(Lsun/java2d/xr/XRBackend;ILjava/awt/geom/AffineTransform;)V
invokevirtual sun.java2d.xr.XRCompositeManager.setGradientPaint:(Lsun/java2d/xr/XRSurfaceData;)V
19: .line 174
return
end local 13 // int gradient
end local 12 // sun.java2d.xr.XRBackend con
end local 11 // int[] pixels
end local 10 // float[] fractions
end local 9 // int repeat
end local 8 // java.awt.geom.AffineTransform at
end local 7 // java.awt.geom.Point2D pt2
end local 6 // java.awt.geom.Point2D pt1
end local 5 // java.awt.Color[] colors
end local 4 // boolean linear
end local 3 // java.awt.LinearGradientPaint paint
end local 2 // java.awt.Paint pt
end local 1 // sun.java2d.SunGraphics2D sg2d
end local 0 // sun.java2d.xr.XRPaints$XRLinearGradient this
LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/java2d/xr/XRPaints$XRLinearGradient;
0 20 1 sg2d Lsun/java2d/SunGraphics2D;
0 20 2 pt Ljava/awt/Paint;
1 20 3 paint Ljava/awt/LinearGradientPaint;
4 20 4 linear Z
5 20 5 colors [Ljava/awt/Color;
6 20 6 pt1 Ljava/awt/geom/Point2D;
7 20 7 pt2 Ljava/awt/geom/Point2D;
8 20 8 at Ljava/awt/geom/AffineTransform;
10 20 9 repeat I
11 20 10 fractions [F
12 20 11 pixels [I
15 16 12 ex Ljava/awt/geom/NoninvertibleTransformException;
17 20 12 con Lsun/java2d/xr/XRBackend;
18 20 13 gradient I
Exception table:
from to target type
12 13 14 Class java.awt.geom.NoninvertibleTransformException
MethodParameters:
Name Flags
sg2d
pt
}
SourceFile: "XRPaints.java"
NestHost: sun.java2d.xr.XRPaints
InnerClasses:
public final ColorSpaceType = java.awt.MultipleGradientPaint$ColorSpaceType of java.awt.MultipleGradientPaint
public final CycleMethod = java.awt.MultipleGradientPaint$CycleMethod of java.awt.MultipleGradientPaint
private XRLinearGradient = sun.java2d.xr.XRPaints$XRLinearGradient of sun.java2d.xr.XRPaints
public XRInternalSurfaceData = sun.java2d.xr.XRSurfaceData$XRInternalSurfaceData of sun.java2d.xr.XRSurfaceData