package test.check.svg.flags;
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://flamingo.dev.java.net">Flamingo SVG transcoder</a>.
*/
public class hk 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(0.9399999976158142f, 0.0f, 0.0f, 0.9399999976158142f, 83.4800033569336f, 0.0f));
// _0_0
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_0 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_0
paint = new Color(186, 0, 0, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(618.0, 512.0);
((GeneralPath)shape).lineTo(-113.42999, 512.0);
((GeneralPath)shape).lineTo(-113.42999, 0.0);
((GeneralPath)shape).lineTo(618.0, 0.0);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
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 Color(255, 255, 255, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(241.874, 247.803);
((GeneralPath)shape).curveTo(241.874, 247.803, 190.254, 225.577, 197.661, 167.986);
((GeneralPath)shape).curveTo(204.833, 140.263, 217.498, 121.38399, 240.441, 111.107994);
((GeneralPath)shape).curveTo(251.194, 107.76199, 262.189, 106.327995, 273.421, 105.371994);
((GeneralPath)shape).curveTo(270.47098, 108.159996, 268.004, 110.949, 266.729, 114.453995);
((GeneralPath)shape).curveTo(264.259, 120.746994, 266.091, 126.800995, 269.357, 132.85399);
((GeneralPath)shape).curveTo(273.499, 139.86398, 275.96698, 147.11398, 276.76498, 156.51399);
((GeneralPath)shape).curveTo(278.27798, 169.737, 272.623, 182.484, 262.18698, 190.211);
((GeneralPath)shape).curveTo(255.57498, 195.311, 247.76898, 197.063, 241.39499, 202.87799);
((GeneralPath)shape).curveTo(236.45699, 207.73799, 233.43, 212.59799, 232.31499, 221.04);
((GeneralPath)shape).curveTo(232.15498, 237.12999, 236.538, 239.362, 241.87498, 247.806);
((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.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_2
paint = new Color(186, 0, 0, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(232.076, 164.476);
((GeneralPath)shape).lineTo(232.076, 164.23799);
g.setPaint(paint);
g.fill(shape);
paint = new Color(0, 0, 0, 255);
stroke = new BasicStroke(2.152f,0,0,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(232.076, 164.476);
((GeneralPath)shape).lineTo(232.076, 164.23799);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(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(186, 0, 0, 255);
stroke = new BasicStroke(2.152f,0,0,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(235.337, 241.823);
((GeneralPath)shape).curveTo(215.259, 224.05699, 217.014, 179.373, 232.31001, 164.476);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(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(186, 0, 0, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(244.634, 154.48);
((GeneralPath)shape).lineTo(247.934, 159.998);
((GeneralPath)shape).lineTo(241.81401, 157.505);
((GeneralPath)shape).lineTo(237.24, 162.41501);
((GeneralPath)shape).lineTo(238.04001, 155.97);
((GeneralPath)shape).lineTo(231.914, 153.48601);
((GeneralPath)shape).lineTo(238.528, 151.996);
((GeneralPath)shape).lineTo(239.315, 145.55);
((GeneralPath)shape).lineTo(242.605, 151.075);
((GeneralPath)shape).lineTo(249.215, 149.575);
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 Color(255, 255, 255, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(246.26, 243.992);
((GeneralPath)shape).curveTo(246.26, 243.992, 252.385, 188.126, 309.62, 178.332);
((GeneralPath)shape).curveTo(338.227, 177.065, 359.988, 183.642, 376.536, 202.566);
((GeneralPath)shape).curveTo(382.88602, 211.868, 387.478, 221.959, 391.683, 232.418);
((GeneralPath)shape).curveTo(388.153, 230.416, 384.765, 228.873, 381.04, 228.682);
((GeneralPath)shape).curveTo(374.30002, 228.164, 369.048, 231.69, 364.216, 236.58601);
((GeneralPath)shape).curveTo(358.728, 242.60101, 352.52, 247.08401, 343.766, 250.60101);
((GeneralPath)shape).curveTo(331.56598, 255.92401, 317.722, 254.251, 307.276, 246.53801);
((GeneralPath)shape).curveTo(300.466, 241.71, 296.502, 234.76102, 289.076, 230.37001);
((GeneralPath)shape).curveTo(282.981, 227.072, 277.44598, 225.602, 269.04797, 227.01001);
((GeneralPath)shape).curveTo(253.61597, 231.572, 252.76797, 236.41602, 246.25797, 243.99301);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_5);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * 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(186, 0, 0, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(323.06, 210.208);
((GeneralPath)shape).lineTo(323.287, 210.13799);
g.setPaint(paint);
g.fill(shape);
paint = new Color(0, 0, 0, 255);
stroke = new BasicStroke(2.152f,0,0,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(323.06, 210.208);
((GeneralPath)shape).lineTo(323.287, 210.13799);
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
paint = new Color(186, 0, 0, 255);
stroke = new BasicStroke(2.152f,0,0,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(250.062, 235.99);
((GeneralPath)shape).curveTo(261.166, 211.58801, 304.402, 200.172, 323.128, 210.43001);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
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
paint = new Color(186, 0, 0, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(336.298, 219.285);
((GeneralPath)shape).lineTo(331.988, 224.05501);
((GeneralPath)shape).lineTo(332.578, 217.475);
((GeneralPath)shape).lineTo(326.543, 214.541);
((GeneralPath)shape).lineTo(332.939, 213.418);
((GeneralPath)shape).lineTo(333.51898, 206.834);
((GeneralPath)shape).lineTo(336.88098, 212.721);
((GeneralPath)shape).lineTo(343.274, 211.584);
((GeneralPath)shape).lineTo(338.956, 216.34799);
((GeneralPath)shape).lineTo(342.328, 222.228);
g.setPaint(paint);
g.fill(shape);
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(255, 255, 255, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(250.118, 248.027);
((GeneralPath)shape).curveTo(250.118, 248.027, 305.038, 236.092, 332.5, 287.25198);
((GeneralPath)shape).curveTo(342.787, 313.97498, 343.462, 336.69897, 330.773, 358.4);
((GeneralPath)shape).curveTo(323.97, 367.375, 315.859, 374.935, 307.278, 382.244);
((GeneralPath)shape).curveTo(308.05502, 378.261, 308.44202, 374.55698, 307.44, 370.964);
((GeneralPath)shape).curveTo(305.79, 364.409, 300.78, 360.54898, 294.602, 357.524);
((GeneralPath)shape).curveTo(287.15598, 354.228, 280.93198, 349.766, 274.818, 342.58398);
((GeneralPath)shape).curveTo(265.89798, 332.70398, 263.086, 319.046, 267.082, 306.692);
((GeneralPath)shape).curveTo(269.497, 298.69897, 274.829, 292.735, 276.632, 284.29797);
((GeneralPath)shape).curveTo(277.82397, 277.472, 277.46, 271.75797, 273.45798, 264.24097);
((GeneralPath)shape).curveTo(264.231, 251.05797, 259.36798, 251.79097, 250.11598, 248.02597);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(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 Color(186, 0, 0, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(306.543, 310.12);
((GeneralPath)shape).lineTo(306.683, 310.313);
g.setPaint(paint);
g.fill(shape);
paint = new Color(0, 0, 0, 255);
stroke = new BasicStroke(2.152f,0,0,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(306.543, 310.12);
((GeneralPath)shape).lineTo(306.683, 310.313);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(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 Color(186, 0, 0, 255);
stroke = new BasicStroke(2.152f,0,0,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(258.913, 249.09);
((GeneralPath)shape).curveTo(285.578, 251.87, 310.133, 289.24, 306.353, 310.255);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(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 Color(186, 0, 0, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(302.14, 325.555);
((GeneralPath)shape).lineTo(296.247, 322.983);
((GeneralPath)shape).lineTo(302.677, 321.453);
((GeneralPath)shape).lineTo(303.54102, 314.799);
((GeneralPath)shape).lineTo(306.639, 320.505);
((GeneralPath)shape).lineTo(313.06702, 318.965);
((GeneralPath)shape).lineTo(308.552, 324.023);
((GeneralPath)shape).lineTo(311.662, 329.72302);
((GeneralPath)shape).lineTo(305.774, 327.14304);
((GeneralPath)shape).lineTo(301.267, 332.20703);
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
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_13_0 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_13_0
paint = new Color(255, 255, 255, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(248.88, 253.69);
((GeneralPath)shape).curveTo(248.88, 253.69, 275.76, 303.048, 234.37001, 343.773);
((GeneralPath)shape).curveTo(211.61201, 361.153, 189.992, 368.18002, 165.6, 362.096);
((GeneralPath)shape).curveTo(155.076, 358.086, 145.543, 352.426, 136.11801, 346.243);
((GeneralPath)shape).curveTo(140.158, 345.87003, 143.822, 345.20102, 146.988, 343.23102);
((GeneralPath)shape).curveTo(152.81801, 339.808, 155.115, 333.91403, 156.285, 327.13602);
((GeneralPath)shape).curveTo(157.35501, 319.06403, 159.89, 311.838, 165.067, 303.95203);
((GeneralPath)shape).curveTo(172.042, 292.61703, 184.362, 286.08203, 197.34201, 286.44904);
((GeneralPath)shape).curveTo(205.69202, 286.52304, 212.91202, 289.96405, 221.51701, 289.32605);
((GeneralPath)shape).curveTo(228.40201, 288.55304, 233.78401, 286.59906, 239.87502, 280.64606);
((GeneralPath)shape).curveTo(249.93701, 268.08905, 247.86702, 263.62607, 248.88301, 253.69006);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_13_0);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_13_1 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_13_1
paint = new Color(186, 0, 0, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(205.134, 325.283);
((GeneralPath)shape).lineTo(204.987, 325.47098);
g.setPaint(paint);
g.fill(shape);
paint = new Color(0, 0, 0, 255);
stroke = new BasicStroke(2.152f,0,0,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(205.134, 325.283);
((GeneralPath)shape).lineTo(204.987, 325.47098);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_13_1);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_13_2 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_13_2
paint = new Color(186, 0, 0, 255);
stroke = new BasicStroke(2.152f,0,0,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(250.33, 262.43);
((GeneralPath)shape).curveTo(255.153, 288.80298, 226.18001, 322.866, 204.95, 325.138);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_13_2);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_13_3 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_13_3
paint = new Color(186, 0, 0, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(189.083, 325.392);
((GeneralPath)shape).lineTo(189.896, 319.014);
((GeneralPath)shape).lineTo(193.17099, 324.754);
((GeneralPath)shape).lineTo(199.801, 323.714);
((GeneralPath)shape).lineTo(195.191, 328.291);
((GeneralPath)shape).lineTo(198.47499, 334.02798);
((GeneralPath)shape).lineTo(192.355, 331.116);
((GeneralPath)shape).lineTo(187.75499, 335.7);
((GeneralPath)shape).lineTo(188.579, 329.323);
((GeneralPath)shape).lineTo(182.452, 326.421);
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_13_3);
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
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_14_0 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_14_0
paint = new Color(255, 255, 255, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(242.792, 252.62);
((GeneralPath)shape).curveTo(242.792, 252.62, 205.17001, 294.37, 153.00601, 268.865);
((GeneralPath)shape).curveTo(129.05301, 253.17299, 115.24001, 235.11699, 112.87601, 210.09099);
((GeneralPath)shape).curveTo(113.159004, 198.833, 115.33001, 187.96098, 118.031006, 177.01698);
((GeneralPath)shape).curveTo(119.726006, 180.70299, 121.574005, 183.93698, 124.48501, 186.26898);
((GeneralPath)shape).curveTo(129.651, 190.62898, 135.975, 190.83698, 142.755, 189.68898);
((GeneralPath)shape).curveTo(150.725, 188.01598, 158.382, 188.00598, 167.54001, 190.26898);
((GeneralPath)shape).curveTo(180.548, 193.08199, 190.80402, 202.52898, 194.772, 214.89398);
((GeneralPath)shape).curveTo(197.477, 222.79398, 196.63, 230.74799, 200.09201, 238.65099);
((GeneralPath)shape).curveTo(203.10802, 244.88799, 206.73901, 249.31499, 214.376, 253.081);
((GeneralPath)shape).curveTo(229.56401, 258.401, 233.086, 254.96599, 242.796, 252.62099);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_14_0);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_14_1 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_14_1
paint = new Color(186, 0, 0, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(160.732, 235.146);
((GeneralPath)shape).lineTo(160.506, 235.06999);
g.setPaint(paint);
g.fill(shape);
paint = new Color(0, 0, 0, 255);
stroke = new BasicStroke(2.152f,0,0,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(160.732, 235.146);
((GeneralPath)shape).lineTo(160.506, 235.06999);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_14_1);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_14_2 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_14_2
paint = new Color(186, 0, 0, 255);
stroke = new BasicStroke(2.152f,0,0,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(235.03, 256.89);
((GeneralPath)shape).curveTo(211.76, 270.20203, 170.004, 254.19402, 160.807, 234.92502);
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_0_14_2);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0_14_3 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0_14_3
paint = new Color(186, 0, 0, 255);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(155.296, 220.043);
((GeneralPath)shape).lineTo(161.582, 218.691);
((GeneralPath)shape).lineTo(157.255, 223.68799);
((GeneralPath)shape).lineTo(160.438, 229.59499);
((GeneralPath)shape).lineTo(154.591, 226.76898);
((GeneralPath)shape).lineTo(150.271, 231.77098);
((GeneralPath)shape).lineTo(150.985, 225.03098);
((GeneralPath)shape).lineTo(145.133, 222.21498);
((GeneralPath)shape).lineTo(151.42099, 220.87498);
((GeneralPath)shape).lineTo(152.12299, 214.13098);
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0_14_3);
g.setTransform(defaultTransform__0_0_14);
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 int getOrigX() {
return 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 int getOrigY() {
return 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 int getOrigWidth() {
return 640;
}
/**
* 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 int getOrigHeight() {
return 480;
}
/**
* 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 hk() {
this.width = getOrigWidth();
this.height = 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);
paint(g2d);
g2d.dispose();
}
}