CSSScript.SearchDirs.CreateUpImage C# (CSharp) Метод

CreateUpImage() статический приватный Метод

static private CreateUpImage ( ) : Image
Результат Image
        static Image CreateUpImage()
        {
            Image img = new Bitmap(25, 25);
            using (Graphics g = Graphics.FromImage(img))
            {
                LinearGradientBrush lgb = new LinearGradientBrush(
                     new Point(0, 0),
                     new Point(25, 0),
                     Color.YellowGreen,
                     Color.DarkGreen);

                int xOffset = -3;
                int yOffset = -1;
                g.FillPolygon(lgb, new Point[]
                    {
                        new Point(15+xOffset,5+yOffset),
                        new Point(25+xOffset,15+yOffset),
                        new Point(18+xOffset,15+yOffset),
                        new Point(18+xOffset,20+yOffset),
                        new Point(12+xOffset,20+yOffset),
                        new Point(12+xOffset,15+yOffset),
                        new Point(5+xOffset,15+yOffset)
                    });
            }
            return img;
        }
        static Image CreateDownImage()