package test.svg.transcoded; import java.awt.*; import java.awt.geom.*; /** * This class has been automatically generated using <a * href="https://github.com/kirill-grouchnikov/flamingo">Flamingo SVG transcoder</a>. */ public class Mail_forward implements org.pushingpixels.flamingo.api.common.icon.ResizableIcon { /** * Paints the transcoded SVG image on the specified graphics context. You * can install a custom transformation on the graphics context to scale the * image. * * @param g * Graphics context. */ public static void paint(Graphics2D g) { Shape shape = null; Paint paint = null; Stroke stroke = null; float origAlpha = 1.0f; Composite origComposite = ((Graphics2D)g).getComposite(); if (origComposite instanceof AlphaComposite) { AlphaComposite origAlphaComposite = (AlphaComposite)origComposite; if (origAlphaComposite.getRule() == AlphaComposite.SRC_OVER) { origAlpha = origAlphaComposite.getAlpha(); } } AffineTransform defaultTransform_ = g.getTransform(); // g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha)); AffineTransform defaultTransform__0 = g.getTransform(); g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f)); // _0 g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha)); AffineTransform defaultTransform__0_0 = g.getTransform(); g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f)); // _0_0 g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha)); AffineTransform defaultTransform__0_0_0 = g.getTransform(); g.transform(new AffineTransform(1.0136200189590454f, 0.0f, 0.0f, -1.0136200189590454f, 11.129389762878418f, -8.619853973388672f)); // _0_0_0 g.setTransform(defaultTransform__0_0_0); g.setComposite(AlphaComposite.getInstance(3, 0.3f * origAlpha)); AffineTransform defaultTransform__0_0_1 = g.getTransform(); g.transform(new AffineTransform(1.596972942352295f, 0.0f, 0.0f, 1.5260640382766724f, 3.9802498817443848f, -19.785049438476562f)); // _0_0_1 paint = new RadialGradientPaint(new Point2D.Double(6.7027130126953125, 73.61571502685547), 7.228416f, new Point2D.Double(6.7027130126953125, 73.61571502685547), new float[] {0.0f,1.0f}, new Color[] {new Color(0, 0, 0, 255),new Color(0, 0, 0, 0)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.9022150039672852f, 0.0f, 0.0f, 0.5257030129432678f, 0.0f, 0.0f)); shape = new GeneralPath(); ((GeneralPath)shape).moveTo(26.5, 38.7); ((GeneralPath)shape).curveTo(26.5, 40.798683, 20.343916, 42.5, 12.75, 42.5); ((GeneralPath)shape).curveTo(5.1560845, 42.5, -1.0, 40.798683, -1.0, 38.7); ((GeneralPath)shape).curveTo(-1.0, 36.60132, 5.1560845, 34.9, 12.75, 34.9); ((GeneralPath)shape).curveTo(20.343916, 34.9, 26.5, 36.60132, 26.5, 38.7); ((GeneralPath)shape).closePath(); g.setPaint(paint); g.fill(shape); g.setTransform(defaultTransform__0_0_1); g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha)); AffineTransform defaultTransform__0_0_2 = g.getTransform(); g.transform(new AffineTransform(1.0047270059585571f, 0.0f, 0.0f, 1.001608967781067f, 0.042089998722076416f, -8.972783088684082f)); // _0_0_2 g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha)); AffineTransform defaultTransform__0_0_2_0 = g.getTransform(); g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f)); // _0_0_2_0 paint = new LinearGradientPaint(new Point2D.Double(11.57284164428711, 4.746162414550781), new Point2D.Double(18.47528648376465, 26.02290916442871), new float[] {0.0f,1.0f}, new Color[] {new Color(255, 255, 255, 255),new Color(226, 226, 226, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.3434749841690063f, 0.0f, 0.0f, 1.5058460235595703f, 2.8795111179351807f, -2.2660179138183594f)); shape = new GeneralPath(); ((GeneralPath)shape).moveTo(6.34375, 15.454879); ((GeneralPath)shape).lineTo(6.34375, 41.44216); ((GeneralPath)shape).lineTo(43.3125, 41.44216); ((GeneralPath)shape).lineTo(43.25, 15.554447); ((GeneralPath)shape).curveTo(43.24999, 15.548732, 43.250374, 15.527358, 43.25, 15.521258); ((GeneralPath)shape).curveTo(43.249268, 15.514776, 43.251087, 15.494928, 43.25, 15.488068); ((GeneralPath)shape).curveTo(43.24856, 15.480833, 43.22054, 15.462487, 43.21875, 15.454879); ((GeneralPath)shape).lineTo(6.34375, 15.454879); ((GeneralPath)shape).closePath(); g.setPaint(paint); g.fill(shape); paint = new Color(136, 138, 133, 255); stroke = new BasicStroke(0.99684346f,0,1,4.0f,null,0.0f); shape = new GeneralPath(); ((GeneralPath)shape).moveTo(6.34375, 15.454879); ((GeneralPath)shape).lineTo(6.34375, 41.44216); ((GeneralPath)shape).lineTo(43.3125, 41.44216); ((GeneralPath)shape).lineTo(43.25, 15.554447); ((GeneralPath)shape).curveTo(43.24999, 15.548732, 43.250374, 15.527358, 43.25, 15.521258); ((GeneralPath)shape).curveTo(43.249268, 15.514776, 43.251087, 15.494928, 43.25, 15.488068); ((GeneralPath)shape).curveTo(43.24856, 15.480833, 43.22054, 15.462487, 43.21875, 15.454879); ((GeneralPath)shape).lineTo(6.34375, 15.454879); ((GeneralPath)shape).closePath(); g.setPaint(paint); g.setStroke(stroke); g.draw(shape); g.setTransform(defaultTransform__0_0_2_0); g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha)); AffineTransform defaultTransform__0_0_2_1 = g.getTransform(); g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f)); // _0_0_2_1 paint = new LinearGradientPaint(new Point2D.Double(9.164306640625, 38.070892333984375), new Point2D.Double(9.885503768920898, 52.09067916870117), new float[] {0.0f,0.23809524f,1.0f}, new Color[] {new Color(223, 224, 223, 255),new Color(166, 176, 166, 255),new Color(181, 190, 181, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(2.4547810554504395f, 0.0f, 0.0f, 0.762004017829895f, 2.8817501068115234f, 0.33738601207733154f)); shape = new GeneralPath(); ((GeneralPath)shape).moveTo(20.490673, 29.058712); ((GeneralPath)shape).lineTo(7.09471, 40.0307); ((GeneralPath)shape).lineTo(21.003551, 30.426394); ((GeneralPath)shape).lineTo(30.02171, 30.426394); ((GeneralPath)shape).lineTo(42.440758, 39.90859); ((GeneralPath)shape).lineTo(30.577332, 29.058712); ((GeneralPath)shape).lineTo(20.490673, 29.058712); ((GeneralPath)shape).closePath(); g.setPaint(paint); g.fill(shape); g.setTransform(defaultTransform__0_0_2_1); g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha)); AffineTransform defaultTransform__0_0_2_2 = g.getTransform(); g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f)); // _0_0_2_2 paint = new Color(255, 255, 255, 255); stroke = new BasicStroke(0.9968433f,0,0,4.0f,null,0.0f); shape = new GeneralPath(); ((GeneralPath)shape).moveTo(7.4471445, 16.725622); ((GeneralPath)shape).curveTo(7.440469, 16.738968, 7.4525223, 16.74528, 7.4471445, 16.757236); ((GeneralPath)shape).curveTo(7.4447837, 16.762865, 7.4180174, 16.783579, 7.415987, 16.788853); ((GeneralPath)shape).curveTo(7.4142895, 16.793766, 7.417349, 16.81591, 7.415987, 16.820465); ((GeneralPath)shape).curveTo(7.414963, 16.82466, 7.416671, 16.848255, 7.415987, 16.852081); ((GeneralPath)shape).lineTo(7.4471445, 40.341904); ((GeneralPath)shape).lineTo(42.28123, 40.341904); ((GeneralPath)shape).lineTo(42.218914, 16.97854); ((GeneralPath)shape).curveTo(42.21823, 16.974827, 42.219936, 16.951012, 42.218914, 16.946924); ((GeneralPath)shape).curveTo(42.2043, 16.898813, 42.177208, 16.814676, 42.125443, 16.725622); ((GeneralPath)shape).lineTo(7.4471445, 16.725622); ((GeneralPath)shape).closePath(); g.setPaint(paint); g.setStroke(stroke); g.draw(shape); g.setTransform(defaultTransform__0_0_2_2); g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha)); AffineTransform defaultTransform__0_0_2_3 = g.getTransform(); g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f)); // _0_0_2_3 paint = new RadialGradientPaint(new Point2D.Double(27.741130828857422, 38.71150588989258), 17.977943f, new Point2D.Double(27.741130828857422, 38.71150588989258), new float[] {0.0f,1.0f}, new Color[] {new Color(0, 0, 0, 33),new Color(0, 0, 0, 0)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(0.6299290060997009f, 0.45937299728393555f, -0.14767499268054962f, 0.24851199984550476f, 16.517240524291992f, 9.053736686706543f)); shape = new GeneralPath(); ((GeneralPath)shape).moveTo(23.329298, 32.99672); ((GeneralPath)shape).curveTo(20.93719, 32.550377, 7.9003873, 18.771126, 6.596606, 16.372023); ((GeneralPath)shape).curveTo(6.5816493, 16.343449, 6.5559707, 16.288609, 6.5446897, 16.2636); ((GeneralPath)shape).lineTo(41.057804, 16.2636); ((GeneralPath)shape).curveTo(40.780724, 18.766403, 33.533577, 32.769344, 31.496525, 32.99672); ((GeneralPath)shape).curveTo(31.488352, 32.99719, 31.475246, 32.99672, 31.46725, 32.99672); ((GeneralPath)shape).lineTo(23.446392, 32.99672); ((GeneralPath)shape).curveTo(23.412766, 32.99672, 23.368837, 33.0041, 23.329298, 32.99672); ((GeneralPath)shape).closePath(); g.setPaint(paint); g.fill(shape); g.setTransform(defaultTransform__0_0_2_3); g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha)); AffineTransform defaultTransform__0_0_2_4 = g.getTransform(); g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f)); // _0_0_2_4 paint = new LinearGradientPaint(new Point2D.Double(11.742170333862305, 11.484869956970215), new Point2D.Double(13.846982955932617, 11.98198127746582), new float[] {0.0f,1.0f}, new Color[] {new Color(255, 255, 255, 255),new Color(226, 226, 226, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.2960150241851807f, 0.0f, 0.0f, -1.4369200468063354f, 3.7465760707855225f, 33.20515823364258f)); shape = new GeneralPath(); ((GeneralPath)shape).moveTo(20.77475, 31.085394); ((GeneralPath)shape).curveTo(18.407309, 30.694258, 7.945269, 18.619434, 7.118584, 16.51709); ((GeneralPath)shape).curveTo(7.109327, 16.49205, 7.094677, 16.443993, 7.088438, 16.42208); ((GeneralPath)shape).lineTo(42.630646, 16.42208); ((GeneralPath)shape).curveTo(41.80703, 18.6153, 31.332195, 30.886145, 29.185501, 31.085394); ((GeneralPath)shape).curveTo(29.176985, 31.085802, 29.16359, 31.085394, 29.155355, 31.085394); ((GeneralPath)shape).lineTo(20.895334, 31.085394); ((GeneralPath)shape).curveTo(20.860706, 31.085394, 20.81388, 31.091858, 20.77475, 31.085394); ((GeneralPath)shape).closePath(); g.setPaint(paint); g.fill(shape); paint = new Color(152, 152, 152, 255); stroke = new BasicStroke(0.85390013f,0,1,4.0f,null,0.0f); shape = new GeneralPath(); ((GeneralPath)shape).moveTo(20.77475, 31.085394); ((GeneralPath)shape).curveTo(18.407309, 30.694258, 7.945269, 18.619434, 7.118584, 16.51709); ((GeneralPath)shape).curveTo(7.109327, 16.49205, 7.094677, 16.443993, 7.088438, 16.42208); ((GeneralPath)shape).lineTo(42.630646, 16.42208); ((GeneralPath)shape).curveTo(41.80703, 18.6153, 31.332195, 30.886145, 29.185501, 31.085394); ((GeneralPath)shape).curveTo(29.176985, 31.085802, 29.16359, 31.085394, 29.155355, 31.085394); ((GeneralPath)shape).lineTo(20.895334, 31.085394); ((GeneralPath)shape).curveTo(20.860706, 31.085394, 20.81388, 31.091858, 20.77475, 31.085394); ((GeneralPath)shape).closePath(); g.setPaint(paint); g.setStroke(stroke); g.draw(shape); g.setTransform(defaultTransform__0_0_2_4); g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha)); AffineTransform defaultTransform__0_0_2_5 = g.getTransform(); g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f)); // _0_0_2_5 paint = new LinearGradientPaint(new Point2D.Double(10.027000427246094, 20.21976089477539), new Point2D.Double(17.178024291992188, -7.527464389801025), new float[] {0.0f,1.0f}, new Color[] {new Color(255, 255, 255, 255),new Color(226, 226, 226, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.5706069469451904f, 0.0f, 0.0f, -1.2315109968185425f, 2.973436117172241f, 33.3348503112793f)); shape = new GeneralPath(); ((GeneralPath)shape).moveTo(20.625174, 30.490479); ((GeneralPath)shape).curveTo(18.51921, 29.999928, 7.7224803, 17.98771, 7.0314245, 16.466377); ((GeneralPath)shape).curveTo(7.028888, 16.460379, 7.033602, 16.43969, 7.0314245, 16.434063); ((GeneralPath)shape).curveTo(7.0259733, 16.418306, 7.002328, 16.381763, 7.0001745, 16.369436); ((GeneralPath)shape).curveTo(7.000203, 16.366104, 6.9997683, 16.34006, 7.0001745, 16.337122); ((GeneralPath)shape).curveTo(7.0013437, 16.334982, 7.0298696, 16.33886, 7.0314245, 16.337122); ((GeneralPath)shape).lineTo(7.1251745, 16.240181); ((GeneralPath)shape).lineTo(42.593925, 16.240181); ((GeneralPath)shape).curveTo(42.59121, 16.264507, 42.57124, 16.307055, 42.562675, 16.337122); ((GeneralPath)shape).curveTo(42.555172, 16.360727, 42.542103, 16.407354, 42.531425, 16.434063); ((GeneralPath)shape).curveTo(41.609325, 18.615, 31.023436, 30.200512, 29.187674, 30.490479); ((GeneralPath)shape).curveTo(29.172747, 30.492123, 29.138826, 30.490479, 29.125174, 30.490479); ((GeneralPath)shape).lineTo(20.750174, 30.490479); ((GeneralPath)shape).curveTo(20.719887, 30.488811, 20.66042, 30.49869, 20.625174, 30.490479); ((GeneralPath)shape).closePath(); g.setPaint(paint); g.fill(shape); g.setTransform(defaultTransform__0_0_2_5); g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha)); AffineTransform defaultTransform__0_0_2_6 = g.getTransform(); g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f)); // _0_0_2_6 paint = new LinearGradientPaint(new Point2D.Double(11.841544151306152, 4.250730514526367), new Point2D.Double(40.0240592956543, 7.412107467651367), new float[] {0.0f,1.0f}, new Color[] {new Color(255, 255, 255, 255),new Color(237, 237, 237, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.3709280490875244f, 0.0f, 0.0f, -1.4645600318908691f, 2.525057077407837f, 33.71268844604492f)); stroke = new BasicStroke(0.85389996f,0,0,4.0f,null,0.0f); shape = new GeneralPath(); ((GeneralPath)shape).moveTo(20.875174, 30.051142); ((GeneralPath)shape).curveTo(18.427216, 29.50167, 8.704, 18.433899, 7.5314245, 16.451725); ((GeneralPath)shape).lineTo(42.125175, 16.451725); ((GeneralPath)shape).curveTo(40.634987, 18.784897, 31.078503, 29.863516, 28.968924, 30.051142); ((GeneralPath)shape).curveTo(28.96018, 30.051542, 28.946142, 30.051142, 28.937674, 30.051142); ((GeneralPath)shape).lineTo(21.031424, 30.051142); ((GeneralPath)shape).curveTo(21.00503, 30.051142, 20.966541, 30.054691, 20.937674, 30.051142); ((GeneralPath)shape).curveTo(20.917889, 30.047995, 20.896025, 30.05582, 20.875174, 30.051142); ((GeneralPath)shape).closePath(); g.setPaint(paint); g.setStroke(stroke); g.draw(shape); g.setTransform(defaultTransform__0_0_2_6); g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha)); AffineTransform defaultTransform__0_0_2_7 = g.getTransform(); g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f)); // _0_0_2_7 paint = new LinearGradientPaint(new Point2D.Double(17.39720344543457, 33.35737609863281), new Point2D.Double(22.177709579467773, 31.02674102783203), new float[] {0.0f,1.0f}, new Color[] {new Color(255, 255, 255, 255),new Color(255, 255, 255, 0)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f)); shape = new GeneralPath(); ((GeneralPath)shape).moveTo(20.95951, 30.447113); ((GeneralPath)shape).lineTo(9.018012, 38.717968); ((GeneralPath)shape).lineTo(11.237445, 38.724075); ((GeneralPath)shape).lineTo(21.23557, 31.855137); ((GeneralPath)shape).lineTo(30.057478, 30.432299); ((GeneralPath)shape).lineTo(20.95951, 30.447113); ((GeneralPath)shape).closePath(); g.setPaint(paint); g.fill(shape); g.setTransform(defaultTransform__0_0_2_7); g.setTransform(defaultTransform__0_0_2); g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha)); AffineTransform defaultTransform__0_0_3 = g.getTransform(); g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f)); // _0_0_3 g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha)); AffineTransform defaultTransform__0_0_3_0 = g.getTransform(); g.transform(new AffineTransform(-0.8457019925117493f, 0.0f, 0.0f, -0.8457019925117493f, 51.403228759765625f, 49.140480041503906f)); // _0_0_3_0 paint = new LinearGradientPaint(new Point2D.Double(32.707862854003906, 28.042139053344727), new Point2D.Double(43.98674392700195, 34.40784454345703), new float[] {0.0f,1.0f}, new Color[] {new Color(253, 157, 20, 255),new Color(255, 200, 121, 0)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f)); shape = new GeneralPath(); ((GeneralPath)shape).moveTo(49.78573, 36.46161); ((GeneralPath)shape).curveTo(31.871506, 29.801214, 51.855164, 14.067224, 22.462412, 12.49765); ((GeneralPath)shape).lineTo(22.462412, 3.1222396); ((GeneralPath)shape).lineTo(5.81393, 17.708818); ((GeneralPath)shape).lineTo(22.462412, 33.006348); ((GeneralPath)shape).curveTo(22.462412, 33.006348, 22.462412, 23.337969, 22.462412, 23.337969); ((GeneralPath)shape).curveTo(39.481644, 22.456387, 30.293505, 37.380238, 49.78573, 36.46161); ((GeneralPath)shape).closePath(); g.setPaint(paint); g.fill(shape); paint = new LinearGradientPaint(new Point2D.Double(32.707862854003906, 28.042139053344727), new Point2D.Double(43.98674392700195, 34.40784454345703), new float[] {0.0f,1.0f}, new Color[] {new Color(159, 98, 11, 255),new Color(255, 200, 121, 0)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f)); stroke = new BasicStroke(1.1824504f,0,0,4.0f,null,0.0f); shape = new GeneralPath(); ((GeneralPath)shape).moveTo(49.78573, 36.46161); ((GeneralPath)shape).curveTo(31.871506, 29.801214, 51.855164, 14.067224, 22.462412, 12.49765); ((GeneralPath)shape).lineTo(22.462412, 3.1222396); ((GeneralPath)shape).lineTo(5.81393, 17.708818); ((GeneralPath)shape).lineTo(22.462412, 33.006348); ((GeneralPath)shape).curveTo(22.462412, 33.006348, 22.462412, 23.337969, 22.462412, 23.337969); ((GeneralPath)shape).curveTo(39.481644, 22.456387, 30.293505, 37.380238, 49.78573, 36.46161); ((GeneralPath)shape).closePath(); g.setPaint(paint); g.setStroke(stroke); g.draw(shape); g.setTransform(defaultTransform__0_0_3_0); g.setComposite(AlphaComposite.getInstance(3, 0.7f * origAlpha)); AffineTransform defaultTransform__0_0_3_1 = g.getTransform(); g.transform(new AffineTransform(-0.8457019925117493f, 0.0f, 0.0f, -0.8457019925117493f, 51.403228759765625f, 49.140480041503906f)); // _0_0_3_1 paint = new LinearGradientPaint(new Point2D.Double(23.70759391784668, 11.027570724487305), new Point2D.Double(36.172122955322266, 50.995052337646484), new float[] {0.0f,1.0f}, new Color[] {new Color(255, 255, 255, 255),new Color(255, 255, 255, 0)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(0.9141139984130859f, 1.412791001969375E-16f, -1.412791001969375E-16f, 0.9141139984130859f, -3.8686978816986084f, -2.706902027130127f)); stroke = new BasicStroke(1.1824498f,0,0,10.0f,null,0.0f); shape = new GeneralPath(); ((GeneralPath)shape).moveTo(44.926064, 35.103043); ((GeneralPath)shape).curveTo(33.88701, 28.727802, 48.67967, 14.639454, 21.448702, 13.549959); ((GeneralPath)shape).lineTo(21.448702, 5.4508677); ((GeneralPath)shape).curveTo(21.448702, 5.4508677, 7.400963, 17.714588, 7.400963, 17.714588); ((GeneralPath)shape).lineTo(21.448702, 30.658617); ((GeneralPath)shape).curveTo(21.448702, 30.658617, 21.448702, 22.38098, 21.448702, 22.38098); ((GeneralPath)shape).curveTo(37.544903, 20.111229, 34.13055, 34.399548, 44.926064, 35.103043); ((GeneralPath)shape).closePath(); g.setPaint(paint); g.setStroke(stroke); g.draw(shape); g.setTransform(defaultTransform__0_0_3_1); g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha)); AffineTransform defaultTransform__0_0_3_2 = g.getTransform(); g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f)); // _0_0_3_2 paint = new LinearGradientPaint(new Point2D.Double(11.6875, 14.319357872009277), new Point2D.Double(37.11378479003906, 36.08745193481445), new float[] {0.0f,1.0f}, new Color[] {new Color(255, 255, 255, 255),new Color(255, 255, 255, 0)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f)); shape = new GeneralPath(); ((GeneralPath)shape).moveTo(32.84375, 38.1875); ((GeneralPath)shape).lineTo(32.78125, 45.5); ((GeneralPath)shape).lineTo(45.875, 34.15625); ((GeneralPath)shape).lineTo(32.84375, 22.09375); ((GeneralPath)shape).curveTo(32.84375, 22.093752, 32.78125, 29.65625, 32.78125, 29.65625); ((GeneralPath)shape).curveTo(20.26305, 32.276806, 23.547112, 18.410612, 11.6875, 18.9375); ((GeneralPath)shape).curveTo(22.872463, 24.02322, 9.730253, 37.29154, 32.84375, 38.1875); ((GeneralPath)shape).closePath(); ((GeneralPath)shape).moveTo(40.78125, 29.625); ((GeneralPath)shape).curveTo(40.860493, 29.62021, 40.917072, 29.627337, 41.0, 29.625); ((GeneralPath)shape).lineTo(45.8125, 34.1875); ((GeneralPath)shape).lineTo(32.875, 45.46875); ((GeneralPath)shape).lineTo(32.78125, 38.15625); ((GeneralPath)shape).lineTo(28.59375, 37.625); ((GeneralPath)shape).curveTo(37.938694, 35.04962, 35.789047, 29.926678, 40.78125, 29.625); ((GeneralPath)shape).closePath(); g.setPaint(paint); g.fill(shape); g.setTransform(defaultTransform__0_0_3_2); g.setTransform(defaultTransform__0_0_3); g.setTransform(defaultTransform__0_0); g.setTransform(defaultTransform__0); g.setTransform(defaultTransform_); } /** * Returns the X of the bounding box of the original SVG image. * * @return The X of the bounding box of the original SVG image. */ public static double getOrigX() { return 2.38327693939209; } /** * Returns the Y of the bounding box of the original SVG image. * * @return The Y of the bounding box of the original SVG image. */ public static double getOrigY() { return 6.0077385902404785; } /** * Returns the width of the bounding box of the original SVG image. * * @return The width of the bounding box of the original SVG image. */ public static double getOrigWidth() { return 44.85266876220703; } /** * Returns the height of the bounding box of the original SVG image. * * @return The height of the bounding box of the original SVG image. */ public static double getOrigHeight() { return 41.59651565551758; } /** * The current width of this resizable icon. */ int width; /** * The current height of this resizable icon. */ int height; /** * Creates a new transcoded SVG image. */ public Mail_forward() { this.width = (int) getOrigWidth(); this.height = (int) getOrigHeight(); } /* * (non-Javadoc) * * @see javax.swing.Icon#getIconHeight() */ @Override public int getIconHeight() { return height; } /* * (non-Javadoc) * * @see javax.swing.Icon#getIconWidth() */ @Override public int getIconWidth() { return width; } /* * (non-Javadoc) * * @see * org.jvnet.flamingo.common.icon.ResizableIcon#setDimension(java.awt.Dimension * ) */ @Override public void setDimension(Dimension newDimension) { this.width = newDimension.width; this.height = newDimension.height; } /* * (non-Javadoc) * * @see javax.swing.Icon#paintIcon(java.awt.Component, java.awt.Graphics, * int, int) */ @Override public void paintIcon(Component c, Graphics g, int x, int y) { Graphics2D g2d = (Graphics2D) g.create(); g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); g2d.translate(x, y); double coef1 = (double) this.width / (double) getOrigWidth(); double coef2 = (double) this.height / (double) getOrigHeight(); double coef = Math.min(coef1, coef2); g2d.clipRect(0, 0, this.width, this.height); g2d.scale(coef, coef); g2d.translate(-getOrigX(), -getOrigY()); if (coef1 != coef2) { if (coef1 < coef2) { int extraDy = (int) ((getOrigWidth() - getOrigHeight()) / 2.0); g2d.translate(0, extraDy); } else { int extraDx = (int) ((getOrigHeight() - getOrigWidth()) / 2.0); g2d.translate(extraDx, 0); } } paint(g2d); g2d.dispose(); } }