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 Accessories_text_editor 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.02417599968612194f, 0.0f, 0.0f, 0.020867999643087387f, 45.12799835205078f, 40.15399932861328f));
// _0_0_0
g.setComposite(AlphaComposite.getInstance(3, 0.4f * 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.4f * 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.4f * 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 LinearGradientPaint(new Point2D.Double(21.042999267578125, 42.83300018310547), new Point2D.Double(14.284000396728516, 6.833399772644043), new float[] {0.0f,1.0f}, new Color[] {new Color(223, 223, 223, 255),new Color(255, 255, 255, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.1378999948501587f, 0.0f, 0.0f, 1.0f, -2.660900115966797f, 0.0f));
shape = new GeneralPath();
((GeneralPath)shape).moveTo(7.1639, 4.5064);
((GeneralPath)shape).lineTo(39.812897, 4.5064);
((GeneralPath)shape).curveTo(40.575897, 4.5064, 41.189896, 5.0388002, 41.189896, 5.7002);
((GeneralPath)shape).lineTo(43.590897, 39.869198);
((GeneralPath)shape).lineTo(43.602898, 42.217197);
((GeneralPath)shape).curveTo(43.602898, 42.878197, 42.9889, 43.4102, 42.2269, 43.4102);
((GeneralPath)shape).lineTo(4.749897, 43.4102);
((GeneralPath)shape).curveTo(3.987397, 43.4102, 3.373497, 42.878197, 3.373497, 42.217197);
((GeneralPath)shape).lineTo(3.362297, 40.050198);
((GeneralPath)shape).lineTo(5.7872972, 5.700199);
((GeneralPath)shape).curveTo(5.7872972, 5.038999, 6.4011974, 4.506599, 7.1637974, 4.506599);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
paint = new LinearGradientPaint(new Point2D.Double(26.61199951171875, 28.08300018310547), new Point2D.Double(26.22800064086914, 42.83300018310547), new float[] {0.0f,1.0f}, new Color[] {new Color(147, 147, 147, 255),new Color(66, 66, 66, 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,0,0,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(7.1639, 4.5064);
((GeneralPath)shape).lineTo(39.812897, 4.5064);
((GeneralPath)shape).curveTo(40.575897, 4.5064, 41.189896, 5.0388002, 41.189896, 5.7002);
((GeneralPath)shape).lineTo(43.590897, 39.869198);
((GeneralPath)shape).lineTo(43.602898, 42.217197);
((GeneralPath)shape).curveTo(43.602898, 42.878197, 42.9889, 43.4102, 42.2269, 43.4102);
((GeneralPath)shape).lineTo(4.749897, 43.4102);
((GeneralPath)shape).curveTo(3.987397, 43.4102, 3.373497, 42.878197, 3.373497, 42.217197);
((GeneralPath)shape).lineTo(3.362297, 40.050198);
((GeneralPath)shape).lineTo(5.7872972, 5.700199);
((GeneralPath)shape).curveTo(5.7872972, 5.038999, 6.4011974, 4.506599, 7.1637974, 4.506599);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_1);
g.setComposite(AlphaComposite.getInstance(3, 0.31579f * origAlpha));
AffineTransform defaultTransform__0_0_2 = g.getTransform();
g.transform(new AffineTransform(0.6166099905967712f, 0.0f, 0.0f, 0.44036999344825745f, 10.61400032043457f, 13.942999839782715f));
// _0_0_2
paint = new RadialGradientPaint(new Point2D.Double(23.562000274658203, 40.4379997253418), 19.562f, new Point2D.Double(23.562000274658203, 40.4379997253418), 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.0f, 0.0f, 0.0f, 0.3482399880886078f, 0.0f, 26.354999542236328f));
shape = new GeneralPath();
((GeneralPath)shape).moveTo(43.125, 40.438);
((GeneralPath)shape).curveTo(43.125, 42.871933, 39.396408, 45.120983, 33.34375, 46.337948);
((GeneralPath)shape).curveTo(27.291092, 47.554916, 19.833908, 47.554916, 13.78125, 46.337948);
((GeneralPath)shape).curveTo(7.7285914, 45.120983, 4.0, 42.871933, 4.0, 40.438);
((GeneralPath)shape).curveTo(4.0, 38.004066, 7.7285914, 35.755016, 13.78125, 34.53805);
((GeneralPath)shape).curveTo(19.833908, 33.321083, 27.291092, 33.321083, 33.34375, 34.53805);
((GeneralPath)shape).curveTo(39.396408, 35.755016, 43.125, 38.004066, 43.125, 40.438);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
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
paint = new Color(164, 164, 164, 255);
shape = new RoundRectangle2D.Double(3.9769999980926514, 39.86800003051758, 39.04800033569336, 3.071500062942505, 1.3587599992752075, 1.3587599992752075);
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_3);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * 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(255, 255, 255, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(3.9268, 40.443);
((GeneralPath)shape).curveTo(3.9268, 40.443, 4.0776, 39.912003, 4.6308002, 39.868);
((GeneralPath)shape).lineTo(42.1948, 39.868);
((GeneralPath)shape).curveTo(42.949802, 39.868, 42.9998, 40.62, 42.9998, 40.62);
((GeneralPath)shape).curveTo(42.9998, 40.62, 43.0238, 39.0, 41.7158, 39.0);
((GeneralPath)shape).lineTo(5.3038025, 39.0);
((GeneralPath)shape).curveTo(4.2983027, 39.088, 3.9266024, 39.78, 3.9266024, 40.443);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_4);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * 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 LinearGradientPaint(new Point2D.Double(6.0, 7.5625), new Point2D.Double(40.98400115966797, 7.5625), new float[] {0.0f,1.0f}, new Color[] {new Color(163, 164, 160, 255),new Color(136, 138, 133, 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(6.25, 5.7344);
((GeneralPath)shape).lineTo(6.0, 10.125);
((GeneralPath)shape).curveTo(6.0, 10.125, 6.3125, 9.0, 7.0, 9.0);
((GeneralPath)shape).lineTo(40.125, 9.0);
((GeneralPath)shape).curveTo(40.828, 8.9844, 40.859, 9.3125, 40.984, 9.8281);
((GeneralPath)shape).lineTo(40.734, 5.9531);
((GeneralPath)shape).curveTo(40.703003, 5.4062004, 40.516003, 5.0, 39.953003, 5.0);
((GeneralPath)shape).lineTo(7.0630035, 5.0);
((GeneralPath)shape).curveTo(6.6094036, 5.0, 6.2969036, 5.3437, 6.2500033, 5.7344);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_5);
g.setComposite(AlphaComposite.getInstance(3, 0.4386f * 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(255, 255, 255, 255);
stroke = new BasicStroke(1.0f,0,0,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(7.8126, 5.5405);
((GeneralPath)shape).lineTo(38.9446, 5.5405);
((GeneralPath)shape).curveTo(39.6666, 5.5405, 40.2476, 5.3883, 40.2476, 6.0146003);
((GeneralPath)shape).curveTo(40.2476, 6.0146003, 42.5216, 39.0226, 42.5216, 39.0226);
((GeneralPath)shape).lineTo(42.621597, 41.731598);
((GeneralPath)shape).curveTo(42.621597, 42.357597, 42.482597, 42.3756, 41.760597, 42.3756);
((GeneralPath)shape).lineTo(4.861599, 42.3756);
((GeneralPath)shape).curveTo(4.448999, 42.3756, 4.4421988, 42.2696, 4.4421988, 41.864597);
((GeneralPath)shape).lineTo(4.4315987, 39.193596);
((GeneralPath)shape).lineTo(6.7276983, 6.045597);
((GeneralPath)shape).curveTo(6.7276983, 5.419197, 7.0901985, 5.540097, 7.812198, 5.540097);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_6);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * 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
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_7_0 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_7_0
paint = new Color(252, 233, 79, 255);
shape = new RoundRectangle2D.Double(8.5, 2.5, 2.0, 5.0, 2.0, 2.0);
g.setPaint(paint);
g.fill(shape);
paint = new Color(136, 111, 0, 255);
stroke = new BasicStroke(1.0f,0,0,4.0f,null,0.0f);
shape = new RoundRectangle2D.Double(8.5, 2.5, 2.0, 5.0, 2.0, 2.0);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_7_0);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_7_1 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_7_1
paint = new Color(252, 233, 79, 255);
shape = new RoundRectangle2D.Double(12.5, 2.5, 2.0, 5.0, 2.0, 2.0);
g.setPaint(paint);
g.fill(shape);
paint = new Color(136, 111, 0, 255);
stroke = new BasicStroke(1.0f,0,0,4.0f,null,0.0f);
shape = new RoundRectangle2D.Double(12.5, 2.5, 2.0, 5.0, 2.0, 2.0);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_7_1);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_7_2 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_7_2
paint = new Color(252, 233, 79, 255);
shape = new RoundRectangle2D.Double(16.5, 2.5, 2.0, 5.0, 2.0, 2.0);
g.setPaint(paint);
g.fill(shape);
paint = new Color(136, 111, 0, 255);
stroke = new BasicStroke(1.0f,0,0,4.0f,null,0.0f);
shape = new RoundRectangle2D.Double(16.5, 2.5, 2.0, 5.0, 2.0, 2.0);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_7_2);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_7_3 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_7_3
paint = new Color(252, 233, 79, 255);
shape = new RoundRectangle2D.Double(20.5, 2.5, 2.0, 5.0, 2.0, 2.0);
g.setPaint(paint);
g.fill(shape);
paint = new Color(136, 111, 0, 255);
stroke = new BasicStroke(1.0f,0,0,4.0f,null,0.0f);
shape = new RoundRectangle2D.Double(20.5, 2.5, 2.0, 5.0, 2.0, 2.0);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_7_3);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_7_4 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_7_4
paint = new Color(252, 233, 79, 255);
shape = new RoundRectangle2D.Double(24.5, 2.5, 2.0, 5.0, 2.0, 2.0);
g.setPaint(paint);
g.fill(shape);
paint = new Color(136, 111, 0, 255);
stroke = new BasicStroke(1.0f,0,0,4.0f,null,0.0f);
shape = new RoundRectangle2D.Double(24.5, 2.5, 2.0, 5.0, 2.0, 2.0);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_7_4);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_7_5 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_7_5
paint = new Color(252, 233, 79, 255);
shape = new RoundRectangle2D.Double(28.5, 2.5, 2.0, 5.0, 2.0, 2.0);
g.setPaint(paint);
g.fill(shape);
paint = new Color(136, 111, 0, 255);
stroke = new BasicStroke(1.0f,0,0,4.0f,null,0.0f);
shape = new RoundRectangle2D.Double(28.5, 2.5, 2.0, 5.0, 2.0, 2.0);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_7_5);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_7_6 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_7_6
paint = new Color(252, 233, 79, 255);
shape = new RoundRectangle2D.Double(32.5, 2.5, 2.0, 5.0, 2.0, 2.0);
g.setPaint(paint);
g.fill(shape);
paint = new Color(136, 111, 0, 255);
stroke = new BasicStroke(1.0f,0,0,4.0f,null,0.0f);
shape = new RoundRectangle2D.Double(32.5, 2.5, 2.0, 5.0, 2.0, 2.0);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_7_6);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_7_7 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_7_7
paint = new Color(252, 233, 79, 255);
shape = new RoundRectangle2D.Double(36.5, 2.5, 2.0, 5.0, 2.0, 2.0);
g.setPaint(paint);
g.fill(shape);
paint = new Color(136, 111, 0, 255);
stroke = new BasicStroke(1.0f,0,0,4.0f,null,0.0f);
shape = new RoundRectangle2D.Double(36.5, 2.5, 2.0, 5.0, 2.0, 2.0);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_7_7);
g.setTransform(defaultTransform__0_0_7);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * 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
g.setComposite(AlphaComposite.getInstance(3, 0.2807f * origAlpha));
AffineTransform defaultTransform__0_0_8_0 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_8_0
paint = new Color(0, 0, 0, 255);
shape = new Rectangle2D.Double(9.0, 12.0, 29.0, 1.0);
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_8_0);
g.setComposite(AlphaComposite.getInstance(3, 0.2807f * origAlpha));
AffineTransform defaultTransform__0_0_8_1 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_8_1
paint = new Color(0, 0, 0, 255);
shape = new Rectangle2D.Double(9.0, 14.982000350952148, 29.0, 1.0);
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_8_1);
g.setComposite(AlphaComposite.getInstance(3, 0.2807f * origAlpha));
AffineTransform defaultTransform__0_0_8_2 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_8_2
paint = new Color(0, 0, 0, 255);
shape = new Rectangle2D.Double(9.0, 18.003999710083008, 13.0, 1.0);
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_8_2);
g.setComposite(AlphaComposite.getInstance(3, 0.2807f * origAlpha));
AffineTransform defaultTransform__0_0_8_3 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_8_3
paint = new Color(0, 0, 0, 255);
shape = new Rectangle2D.Double(9.0, 22.986000061035156, 29.0, 1.0);
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_8_3);
g.setComposite(AlphaComposite.getInstance(3, 0.2807f * origAlpha));
AffineTransform defaultTransform__0_0_8_4 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_8_4
paint = new Color(0, 0, 0, 255);
shape = new Rectangle2D.Double(9.0, 26.007999420166016, 29.0, 1.0);
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_8_4);
g.setComposite(AlphaComposite.getInstance(3, 0.2807f * origAlpha));
AffineTransform defaultTransform__0_0_8_5 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_8_5
paint = new Color(0, 0, 0, 255);
shape = new Rectangle2D.Double(9.0, 29.030000686645508, 29.0, 1.0);
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_8_5);
g.setComposite(AlphaComposite.getInstance(3, 0.2807f * origAlpha));
AffineTransform defaultTransform__0_0_8_6 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_8_6
paint = new Color(0, 0, 0, 255);
shape = new Rectangle2D.Double(9.0, 32.051998138427734, 8.0, 1.0);
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_8_6);
g.setTransform(defaultTransform__0_0_8);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * 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(203, 144, 34, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(17.341, 32.5);
((GeneralPath)shape).lineTo(22.966, 26.875);
((GeneralPath)shape).lineTo(43.059998, 17.125);
((GeneralPath)shape).curveTo(46.309998, 15.875, 48.246998, 20.5, 45.371998, 22.125);
((GeneralPath)shape).lineTo(25.340998, 31.5);
((GeneralPath)shape).lineTo(17.340998, 32.5);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
paint = new Color(92, 65, 12, 255);
stroke = new BasicStroke(1.0f,0,0,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(17.341, 32.5);
((GeneralPath)shape).lineTo(22.966, 26.875);
((GeneralPath)shape).lineTo(43.059998, 17.125);
((GeneralPath)shape).curveTo(46.309998, 15.875, 48.246998, 20.5, 45.371998, 22.125);
((GeneralPath)shape).lineTo(25.340998, 31.5);
((GeneralPath)shape).lineTo(17.340998, 32.5);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_9);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * 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 LinearGradientPaint(new Point2D.Double(48.90599822998047, 17.375999450683594), new Point2D.Double(50.987998962402344, 22.250999450683594), new float[] {0.0f,0.5f,1.0f}, new Color[] {new Color(255, 209, 209, 255),new Color(255, 29, 29, 255),new Color(111, 0, 0, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, -5.669300079345703f, 0.0f));
shape = new GeneralPath();
((GeneralPath)shape).moveTo(38.331, 20.0);
((GeneralPath)shape).curveTo(38.331, 20.0, 39.768, 20.094, 40.331, 21.344);
((GeneralPath)shape).curveTo(40.91, 22.632, 40.331, 24.0, 40.331, 24.0);
((GeneralPath)shape).lineTo(45.362, 21.531);
((GeneralPath)shape).curveTo(45.362, 21.531, 46.814, 20.65, 46.017998, 18.688);
((GeneralPath)shape).curveTo(45.232998, 16.751999, 43.330997, 17.531, 43.330997, 17.531);
((GeneralPath)shape).lineTo(38.330997, 20.0);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_10);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * 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 LinearGradientPaint(new Point2D.Double(46.0, 19.812000274658203), new Point2D.Double(47.6879997253418, 22.625), new float[] {0.0f,1.0f}, new Color[] {new Color(193, 193, 193, 255),new Color(172, 172, 172, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, -5.669300079345703f, 0.0f));
shape = new GeneralPath();
((GeneralPath)shape).moveTo(38.331, 20.0);
((GeneralPath)shape).curveTo(38.331, 20.0, 39.768, 20.094, 40.331, 21.344);
((GeneralPath)shape).curveTo(40.91, 22.632, 40.331, 24.0, 40.331, 24.0);
((GeneralPath)shape).lineTo(42.331, 23.0);
((GeneralPath)shape).curveTo(42.331, 23.0, 43.158, 21.681, 42.549, 20.312);
((GeneralPath)shape).curveTo(41.924, 18.906, 40.331, 19.0, 40.331, 19.0);
((GeneralPath)shape).lineTo(38.331, 20.0);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_11);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * 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 RadialGradientPaint(new Point2D.Double(29.05299949645996, 27.641000747680664), 3.2409f, new Point2D.Double(29.05299949645996, 27.641000747680664), new float[] {0.0f,1.0f}, new Color[] {new Color(231, 226, 184, 255),new Color(231, 226, 184, 0)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(2.9235999584198f, 0.0f, 0.0f, 2.0297000408172607f, -61.55500030517578f, -27.884000778198242f));
shape = new GeneralPath();
((GeneralPath)shape).moveTo(18.768, 31.781);
((GeneralPath)shape).lineTo(23.268, 27.281);
((GeneralPath)shape).curveTo(24.768, 28.094, 25.549, 29.438, 25.143, 31.0);
((GeneralPath)shape).lineTo(18.768, 31.781);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_12);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * 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 LinearGradientPaint(new Point2D.Double(25.7189998626709, 31.047000885009766), new Point2D.Double(25.514999389648438, 30.702999114990234), new float[] {0.0f,1.0f}, new Color[] {new Color(0, 0, 0, 255),new Color(201, 201, 201, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, -5.825500011444092f, 0.125f));
shape = new GeneralPath();
((GeneralPath)shape).moveTo(20.112, 30.375);
((GeneralPath)shape).lineTo(18.487, 31.969);
((GeneralPath)shape).lineTo(20.831, 31.656);
((GeneralPath)shape).curveTo(21.049, 30.938, 20.643, 30.594, 20.112, 30.375);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_13);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * 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(255, 255, 255, 93);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(23.268, 27.25);
((GeneralPath)shape).lineTo(24.831, 28.5);
((GeneralPath)shape).lineTo(40.218, 21.181);
((GeneralPath)shape).curveTo(39.774, 20.324999, 38.975998, 20.097, 38.315, 20.019);
((GeneralPath)shape).lineTo(23.267998, 27.25);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_14);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * 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(0, 0, 0, 93);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(25.143, 31.062);
((GeneralPath)shape).lineTo(25.331, 30.312);
((GeneralPath)shape).lineTo(40.562, 23.183);
((GeneralPath)shape).curveTo(40.562, 23.183, 40.452, 23.797, 40.346, 23.932001);
((GeneralPath)shape).lineTo(25.143002, 31.062);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_15);
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.0;
}
/**
* 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 2.0;
}
/**
* 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 48.0;
}
/**
* 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 45.01018142700195;
}
/**
* 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 Accessories_text_editor() {
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 Accessories_text_editor of(int width, int height) {
Accessories_text_editor result = new Accessories_text_editor();
result.width = width;
result.height = height;
return result;
}
}