package org.pushingpixels.substance.internal.svg;
import java.awt.*;
import java.awt.geom.*;
import javax.swing.Icon;
import javax.swing.plaf.UIResource;
import org.pushingpixels.lafwidget.icon.IsHiDpiAware;
import org.pushingpixels.lafwidget.icon.IsResizable;
/**
* This class has been automatically generated using <a
* href="https://github.com/kirill-grouchnikov/flamingo">Flamingo SVG transcoder</a>.
*/
public class Folder implements Icon, UIResource, IsResizable, IsHiDpiAware {
/**
* 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(0.022624000906944275f, 0.0f, 0.0f, 0.020867999643087387f, 43.382999420166016f, 36.369998931884766f));
// _0_0_0
g.setComposite(AlphaComposite.getInstance(3, 0.40206f * origAlpha));
AffineTransform defaultTransform__0_0_0_0 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_0_0
paint = new LinearGradientPaint(new Point2D.Double(302.8599853515625, 366.6499938964844), new Point2D.Double(302.8599853515625, 609.510009765625), new float[] {0.0f,0.5f,1.0f}, new Color[] {new Color(0, 0, 0, 0),new Color(0, 0, 0, 255),new Color(0, 0, 0, 0)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(2.774399995803833f, 0.0f, 0.0f, 1.9696999788284302f, -1892.199951171875f, -872.8900146484375f));
shape = new Rectangle2D.Double(-1559.300048828125, -150.6999969482422, 1339.5999755859375, 478.3599853515625);
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_0_0);
g.setComposite(AlphaComposite.getInstance(3, 0.40206f * origAlpha));
AffineTransform defaultTransform__0_0_0_1 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_0_1
paint = new RadialGradientPaint(new Point2D.Double(605.7100219726562, 486.6499938964844), 117.14f, new Point2D.Double(605.7100219726562, 486.6499938964844), 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(2.774399995803833f, 0.0f, 0.0f, 1.9696999788284302f, -1891.5999755859375f, -872.8900146484375f));
shape = new GeneralPath();
((GeneralPath)shape).moveTo(-219.62, -150.68);
((GeneralPath)shape).lineTo(-219.62, 327.65);
((GeneralPath)shape).curveTo(-76.73999, 328.55, 125.78, 220.48, 125.78, 88.45);
((GeneralPath)shape).curveTo(125.78, -43.570007, -33.660004, -150.68001, -219.62, -150.68001);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_0_1);
g.setComposite(AlphaComposite.getInstance(3, 0.40206f * origAlpha));
AffineTransform defaultTransform__0_0_0_2 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_0_2
paint = new RadialGradientPaint(new Point2D.Double(605.7100219726562, 486.6499938964844), 117.14f, new Point2D.Double(605.7100219726562, 486.6499938964844), 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(-2.774399995803833f, 0.0f, 0.0f, 1.9696999788284302f, 112.76000213623047f, -872.8900146484375f));
shape = new GeneralPath();
((GeneralPath)shape).moveTo(-1559.3, -150.68);
((GeneralPath)shape).lineTo(-1559.3, 327.65);
((GeneralPath)shape).curveTo(-1702.1001, 328.55, -1904.7001, 220.48, -1904.7001, 88.45);
((GeneralPath)shape).curveTo(-1904.7001, -43.570007, -1745.2001, -150.68001, -1559.3, -150.68001);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_0_2);
g.setTransform(defaultTransform__0_0_0);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_1 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_1
paint = new RadialGradientPaint(new Point2D.Double(20.70599937438965, 37.518001556396484), 30.905f, new Point2D.Double(20.70599937438965, 37.518001556396484), new float[] {0.0f,1.0f}, new Color[] {new Color(32, 32, 32, 255),new Color(185, 185, 185, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0549999475479126f, -0.027344999834895134f, 0.1776999980211258f, 1.1908999681472778f, -3.572200059890747f, -7.12529993057251f));
shape = new GeneralPath();
((GeneralPath)shape).moveTo(4.5218, 38.687);
((GeneralPath)shape).curveTo(4.5436, 39.104, 4.9817, 39.52, 5.3980002, 39.52);
((GeneralPath)shape).lineTo(36.725, 39.52);
((GeneralPath)shape).curveTo(37.141, 39.52, 37.536, 39.104, 37.514, 38.687);
((GeneralPath)shape).lineTo(36.578, 11.461);
((GeneralPath)shape).curveTo(36.556, 11.044001, 36.118, 10.628, 35.701, 10.628);
((GeneralPath)shape).lineTo(22.431, 10.628);
((GeneralPath)shape).curveTo(21.945, 10.628, 21.196, 10.312, 21.029, 9.5214);
((GeneralPath)shape).lineTo(20.417, 6.628401);
((GeneralPath)shape).curveTo(20.262, 5.8927007, 19.535, 5.590501, 19.119, 5.590501);
((GeneralPath)shape).lineTo(4.339999, 5.590501);
((GeneralPath)shape).curveTo(3.9237993, 5.590501, 3.5292993, 6.0068007, 3.5510993, 6.423101);
((GeneralPath)shape).lineTo(4.521799, 38.6871);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
paint = new LinearGradientPaint(new Point2D.Double(18.113000869750977, 31.368000030517578), new Point2D.Double(15.515000343322754, 6.180300235748291), new float[] {0.0f,1.0f}, new Color[] {new Color(66, 66, 66, 255),new Color(119, 119, 119, 255)}, 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.0f,1,1,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(4.5218, 38.687);
((GeneralPath)shape).curveTo(4.5436, 39.104, 4.9817, 39.52, 5.3980002, 39.52);
((GeneralPath)shape).lineTo(36.725, 39.52);
((GeneralPath)shape).curveTo(37.141, 39.52, 37.536, 39.104, 37.514, 38.687);
((GeneralPath)shape).lineTo(36.578, 11.461);
((GeneralPath)shape).curveTo(36.556, 11.044001, 36.118, 10.628, 35.701, 10.628);
((GeneralPath)shape).lineTo(22.431, 10.628);
((GeneralPath)shape).curveTo(21.945, 10.628, 21.196, 10.312, 21.029, 9.5214);
((GeneralPath)shape).lineTo(20.417, 6.628401);
((GeneralPath)shape).curveTo(20.262, 5.8927007, 19.535, 5.590501, 19.119, 5.590501);
((GeneralPath)shape).lineTo(4.339999, 5.590501);
((GeneralPath)shape).curveTo(3.9237993, 5.590501, 3.5292993, 6.0068007, 3.5510993, 6.423101);
((GeneralPath)shape).lineTo(4.521799, 38.6871);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_1);
g.setComposite(AlphaComposite.getInstance(3, 0.11364f * origAlpha));
AffineTransform defaultTransform__0_0_2 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_2
paint = new Color(114, 159, 207, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.2266, 22.562);
((GeneralPath)shape).lineTo(35.4916, 22.562);
g.setPaint(paint);
g.fill(shape);
paint = new Color(0, 0, 0, 255);
stroke = new BasicStroke(1.0f,1,1,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.2266, 22.562);
((GeneralPath)shape).lineTo(35.4916, 22.562);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_2);
g.setComposite(AlphaComposite.getInstance(3, 0.11364f * 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
paint = new Color(114, 159, 207, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.0422, 18.562);
((GeneralPath)shape).lineTo(35.4892, 18.562);
g.setPaint(paint);
g.fill(shape);
paint = new Color(0, 0, 0, 255);
stroke = new BasicStroke(1.0f,1,1,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.0422, 18.562);
((GeneralPath)shape).lineTo(35.4892, 18.562);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_3);
g.setComposite(AlphaComposite.getInstance(3, 0.11364f * origAlpha));
AffineTransform defaultTransform__0_0_4 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_4
paint = new Color(114, 159, 207, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(4.9807, 12.562);
((GeneralPath)shape).lineTo(35.4877, 12.562);
g.setPaint(paint);
g.fill(shape);
paint = new Color(0, 0, 0, 255);
stroke = new BasicStroke(1.0f,1,1,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(4.9807, 12.562);
((GeneralPath)shape).lineTo(35.4877, 12.562);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_4);
g.setComposite(AlphaComposite.getInstance(3, 0.11364f * origAlpha));
AffineTransform defaultTransform__0_0_5 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_5
paint = new Color(114, 159, 207, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.3862, 32.562);
((GeneralPath)shape).lineTo(35.4952, 32.562);
g.setPaint(paint);
g.fill(shape);
paint = new Color(0, 0, 0, 255);
stroke = new BasicStroke(1.0f,1,1,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.3862, 32.562);
((GeneralPath)shape).lineTo(35.4952, 32.562);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_5);
g.setComposite(AlphaComposite.getInstance(3, 0.11364f * origAlpha));
AffineTransform defaultTransform__0_0_6 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_6
paint = new Color(114, 159, 207, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.5091, 34.562);
((GeneralPath)shape).lineTo(35.4971, 34.562);
g.setPaint(paint);
g.fill(shape);
paint = new Color(0, 0, 0, 255);
stroke = new BasicStroke(1.0f,1,1,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.5091, 34.562);
((GeneralPath)shape).lineTo(35.4971, 34.562);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_6);
g.setComposite(AlphaComposite.getInstance(3, 0.11364f * origAlpha));
AffineTransform defaultTransform__0_0_7 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_7
paint = new Color(114, 159, 207, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.0422, 16.562);
((GeneralPath)shape).lineTo(35.4892, 16.562);
g.setPaint(paint);
g.fill(shape);
paint = new Color(0, 0, 0, 255);
stroke = new BasicStroke(1.0f,1,1,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.0422, 16.562);
((GeneralPath)shape).lineTo(35.4892, 16.562);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_7);
g.setComposite(AlphaComposite.getInstance(3, 0.11364f * origAlpha));
AffineTransform defaultTransform__0_0_8 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_8
paint = new Color(114, 159, 207, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.0114, 14.562);
((GeneralPath)shape).lineTo(35.489403, 14.562);
g.setPaint(paint);
g.fill(shape);
paint = new Color(0, 0, 0, 255);
stroke = new BasicStroke(1.0f,1,1,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.0114, 14.562);
((GeneralPath)shape).lineTo(35.489403, 14.562);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_8);
g.setComposite(AlphaComposite.getInstance(3, 0.11364f * origAlpha));
AffineTransform defaultTransform__0_0_9 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_9
paint = new Color(114, 159, 207, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(4.9221, 10.562);
((GeneralPath)shape).lineTo(20.2031, 10.562);
g.setPaint(paint);
g.fill(shape);
paint = new Color(0, 0, 0, 255);
stroke = new BasicStroke(1.0f,1,1,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(4.9221, 10.562);
((GeneralPath)shape).lineTo(20.2031, 10.562);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_9);
g.setComposite(AlphaComposite.getInstance(3, 0.11364f * origAlpha));
AffineTransform defaultTransform__0_0_10 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_10
paint = new Color(114, 159, 207, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(4.8738, 8.5625);
((GeneralPath)shape).lineTo(19.6568, 8.5625);
g.setPaint(paint);
g.fill(shape);
paint = new Color(0, 0, 0, 255);
stroke = new BasicStroke(1.0f,1,1,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(4.8738, 8.5625);
((GeneralPath)shape).lineTo(19.6568, 8.5625);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_10);
g.setComposite(AlphaComposite.getInstance(3, 0.11364f * origAlpha));
AffineTransform defaultTransform__0_0_11 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_11
paint = new Color(114, 159, 207, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.3247, 28.562);
((GeneralPath)shape).lineTo(35.493702, 28.562);
g.setPaint(paint);
g.fill(shape);
paint = new Color(0, 0, 0, 255);
stroke = new BasicStroke(1.0f,1,1,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.3247, 28.562);
((GeneralPath)shape).lineTo(35.493702, 28.562);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_11);
g.setComposite(AlphaComposite.getInstance(3, 0.11364f * origAlpha));
AffineTransform defaultTransform__0_0_12 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_12
paint = new Color(114, 159, 207, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.2881, 26.562);
((GeneralPath)shape).lineTo(35.4931, 26.562);
g.setPaint(paint);
g.fill(shape);
paint = new Color(0, 0, 0, 255);
stroke = new BasicStroke(1.0f,1,1,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.2881, 26.562);
((GeneralPath)shape).lineTo(35.4931, 26.562);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_12);
g.setComposite(AlphaComposite.getInstance(3, 0.11364f * origAlpha));
AffineTransform defaultTransform__0_0_13 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_13
paint = new Color(114, 159, 207, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.2266, 24.562);
((GeneralPath)shape).lineTo(35.4916, 24.562);
g.setPaint(paint);
g.fill(shape);
paint = new Color(0, 0, 0, 255);
stroke = new BasicStroke(1.0f,1,1,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.2266, 24.562);
((GeneralPath)shape).lineTo(35.4916, 24.562);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_13);
g.setComposite(AlphaComposite.getInstance(3, 0.11364f * origAlpha));
AffineTransform defaultTransform__0_0_14 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_14
paint = new Color(114, 159, 207, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.1959, 20.562);
((GeneralPath)shape).lineTo(35.491898, 20.562);
g.setPaint(paint);
g.fill(shape);
paint = new Color(0, 0, 0, 255);
stroke = new BasicStroke(1.0f,1,1,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.1959, 20.562);
((GeneralPath)shape).lineTo(35.491898, 20.562);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_14);
g.setComposite(AlphaComposite.getInstance(3, 0.11364f * origAlpha));
AffineTransform defaultTransform__0_0_15 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_15
paint = new Color(114, 159, 207, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.3247, 30.562);
((GeneralPath)shape).lineTo(35.493702, 30.562);
g.setPaint(paint);
g.fill(shape);
paint = new Color(0, 0, 0, 255);
stroke = new BasicStroke(1.0f,1,1,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.3247, 30.562);
((GeneralPath)shape).lineTo(35.493702, 30.562);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_15);
g.setComposite(AlphaComposite.getInstance(3, 0.11364f * origAlpha));
AffineTransform defaultTransform__0_0_16 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_16
paint = new Color(114, 159, 207, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.5091, 36.562);
((GeneralPath)shape).lineTo(35.4971, 36.562);
g.setPaint(paint);
g.fill(shape);
paint = new Color(0, 0, 0, 255);
stroke = new BasicStroke(1.0f,1,1,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(5.5091, 36.562);
((GeneralPath)shape).lineTo(35.4971, 36.562);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_16);
g.setComposite(AlphaComposite.getInstance(3, 0.45143f * origAlpha));
AffineTransform defaultTransform__0_0_17 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_17
paint = new LinearGradientPaint(new Point2D.Double(6.229800224304199, 13.77299976348877), new Point2D.Double(9.898099899291992, 66.83399963378906), new float[] {0.0f,1.0f}, new Color[] {new Color(255, 255, 255, 223),new Color(255, 255, 254, 0)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.516800045967102f, 0.0f, 0.0f, 0.7089800238609314f, -0.8795700073242188f, -1.3181999921798706f));
shape = new GeneralPath();
((GeneralPath)shape).moveTo(6.0683, 38.864);
((GeneralPath)shape).curveTo(6.0846996, 39.176, 5.8873997, 39.384, 5.5698, 39.28);
((GeneralPath)shape).curveTo(5.2521, 39.176, 5.033, 38.968, 5.0167, 38.656);
((GeneralPath)shape).lineTo(4.069, 6.5909996);
((GeneralPath)shape).curveTo(4.0526, 6.2791996, 4.2341, 6.0905995, 4.5463996, 6.0905995);
((GeneralPath)shape).lineTo(18.9684, 6.0428996);
((GeneralPath)shape).curveTo(19.281399, 6.0428996, 19.900398, 6.3433995, 20.101398, 7.3650994);
((GeneralPath)shape).lineTo(20.675398, 10.181);
((GeneralPath)shape).curveTo(20.248398, 9.7154, 20.256397, 9.701, 20.037397, 9.0239);
((GeneralPath)shape).lineTo(19.631397, 7.7647);
((GeneralPath)shape).curveTo(19.412397, 7.0371, 18.933397, 6.9328, 18.621397, 6.9328);
((GeneralPath)shape).lineTo(5.7333975, 6.9328);
((GeneralPath)shape).curveTo(5.4211974, 6.9328, 5.2238975, 7.141, 5.2402973, 7.4532);
((GeneralPath)shape).lineTo(6.1782975, 38.9682);
((GeneralPath)shape).lineTo(6.0686975, 38.8642);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_17);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_18 = g.getTransform();
g.transform(new AffineTransform(1.0407999753952026f, 0.0f, 0.054492998868227005f, 1.0407999753952026f, -8.67020034790039f, 2.670599937438965f));
// _0_0_18
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_18_0 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_18_0
paint = new Color(255, 255, 255, 130);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(42.417, 8.5152);
((GeneralPath)shape).curveTo(42.422, 8.418099, 42.289, 8.2682, 42.182, 8.2682);
((GeneralPath)shape).lineTo(29.151, 8.2661);
((GeneralPath)shape).curveTo(29.151, 8.2661, 30.061998, 8.854, 31.352, 8.8623);
((GeneralPath)shape).lineTo(42.406, 8.9333);
((GeneralPath)shape).curveTo(42.417, 8.7216, 42.408997, 8.6773, 42.417, 8.5152);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_18_0);
g.setTransform(defaultTransform__0_0_18);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_19 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_19
paint = new LinearGradientPaint(new Point2D.Double(22.176000595092773, 36.987998962402344), new Point2D.Double(22.065000534057617, 32.04999923706055), new float[] {0.0f,1.0f}, new Color[] {new Color(97, 148, 203, 255),new Color(114, 159, 207, 255)}, 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(39.784, 39.511);
((GeneralPath)shape).curveTo(40.927002, 39.467003, 41.747, 38.414, 41.831, 37.190002);
((GeneralPath)shape).curveTo(42.622, 25.641003, 43.49, 15.958002, 43.49, 15.958002);
((GeneralPath)shape).curveTo(43.562, 15.710002, 43.322002, 15.463002, 43.010002, 15.463002);
((GeneralPath)shape).lineTo(8.639004, 15.463002);
((GeneralPath)shape).curveTo(8.638604, 15.463002, 6.788304, 37.33, 6.788304, 37.33);
((GeneralPath)shape).curveTo(6.673804, 38.312, 6.322304, 39.134003, 5.238504, 39.513);
((GeneralPath)shape).lineTo(39.784504, 39.511);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
paint = new Color(52, 101, 164, 255);
stroke = new BasicStroke(1.0f,0,1,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(39.784, 39.511);
((GeneralPath)shape).curveTo(40.927002, 39.467003, 41.747, 38.414, 41.831, 37.190002);
((GeneralPath)shape).curveTo(42.622, 25.641003, 43.49, 15.958002, 43.49, 15.958002);
((GeneralPath)shape).curveTo(43.562, 15.710002, 43.322002, 15.463002, 43.010002, 15.463002);
((GeneralPath)shape).lineTo(8.639004, 15.463002);
((GeneralPath)shape).curveTo(8.638604, 15.463002, 6.788304, 37.33, 6.788304, 37.33);
((GeneralPath)shape).curveTo(6.673804, 38.312, 6.322304, 39.134003, 5.238504, 39.513);
((GeneralPath)shape).lineTo(39.784504, 39.511);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_19);
g.setComposite(AlphaComposite.getInstance(3, 0.46591f * origAlpha));
AffineTransform defaultTransform__0_0_20 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_20
paint = new LinearGradientPaint(new Point2D.Double(13.03600025177002, 32.56700134277344), new Point2D.Double(12.854000091552734, 46.68899917602539), 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.3174999952316284f, 0.0f, 0.0f, 0.8162599802017212f, -0.8795700073242188f, -1.3181999921798706f));
stroke = new BasicStroke(1.0f,1,0,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(9.6202, 16.464);
((GeneralPath)shape).lineTo(42.4112, 16.529001);
((GeneralPath)shape).lineTo(40.8372, 36.531002);
((GeneralPath)shape).curveTo(40.7532, 37.602, 40.3872, 37.959003, 38.9652, 37.959003);
((GeneralPath)shape).curveTo(37.093197, 37.959003, 10.287199, 37.927002, 7.570198, 37.927002);
((GeneralPath)shape).curveTo(7.803698, 37.606003, 7.9038982, 36.938004, 7.905198, 36.922);
((GeneralPath)shape).lineTo(9.620398, 16.464);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_20);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_21 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_21
paint = new Color(255, 255, 255, 23);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(9.6202, 16.223);
((GeneralPath)shape).lineTo(8.4536, 31.866);
((GeneralPath)shape).curveTo(8.4536, 31.866, 16.75, 27.717999, 27.1196, 27.717999);
((GeneralPath)shape).curveTo(37.4892, 27.717999, 42.6746, 16.223, 42.6746, 16.223);
((GeneralPath)shape).lineTo(9.619598, 16.223);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_21);
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 0.29106324911117554;
}
/**
* 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 5.090500831604004;
}
/**
* 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 45.937583923339844;
}
/**
* 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 38.13568115234375;
}
/**
* The current width of this resizable icon.
*/
private int width;
/**
* The current height of this resizable icon.
*/
private int height;
/**
* Creates a new transcoded SVG image.
*/
public Folder() {
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;
}
@Override
public void setDimension(Dimension newDimension) {
this.width = newDimension.width;
this.height = newDimension.height;
}
@Override
public boolean isHiDpiAware() {
return true;
}
/*
* (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();
}
public static Folder of(int width, int height) {
Folder result = new Folder();
result.width = width;
result.height = height;
return result;
}
}