ComponentFactory.Krypton.Toolkit.RenderStandard.RenderStandard C# (CSharp) Method

RenderStandard() static private method

static private RenderStandard ( ) : System
return System
        static RenderStandard()
        {
            _linear25Blend = new Blend();
            _linear25Blend.Factors = new float[] { 0.0f, 0.0f, 0.0f, 1.0f };
            _linear25Blend.Positions = new float[] { 0.0f, 0.25f, 0.25f, 1.0f };

            _linear33Blend = new Blend();
            _linear33Blend.Factors = new float[] { 0.0f, 0.0f, 0.0f, 1.0f };
            _linear33Blend.Positions = new float[] { 0.0f, 0.33f, 0.33f, 1.0f };

            _linear40Blend = new Blend();
            _linear40Blend.Factors = new float[] { 0.0f, 0.0f, 0.0f, 1.0f };
            _linear40Blend.Positions = new float[] { 0.0f, 0.40f, 0.40f, 1.0f };

            _linear50Blend = new Blend();
            _linear50Blend.Factors = new float[] { 0.0f, 0.0f, 0.0f, 1.0f };
            _linear50Blend.Positions = new float[] { 0.0f, 0.50f, 0.50f, 1.0f };

            _linearShadowBlend = new Blend();
            _linearShadowBlend.Factors = new float[] { 0.0f, 1.0f, 1.0f };
            _linearShadowBlend.Positions = new float[] { 0.0f, 0.30f, 1.0f };

            _switch25Blend = new Blend();
            _switch25Blend.Factors = new float[] { 0.0f, 0.0f, 1.0f, 1.0f };
            _switch25Blend.Positions = new float[] { 0.0f, 0.25f, 0.25f, 1.0f };

            _switch33Blend = new Blend();
            _switch33Blend.Factors = new float[] { 0.0f, 0.0f, 1.0f, 1.0f };
            _switch33Blend.Positions = new float[] { 0.0f, 0.33f, 0.33f, 1.0f };

            _switch50Blend = new Blend();
            _switch50Blend.Factors = new float[] { 0.0f, 0.0f, 1.0f, 1.0f };
            _switch50Blend.Positions = new float[] { 0.0f, 0.5f, 0.5f, 1.0f };

            _switch90Blend = new Blend();
            _switch90Blend.Factors = new float[] { 0.0f, 0.0f, 0.0f, 1.0f };
            _switch90Blend.Positions = new float[] { 0.0f, 0.90f, 0.90f, 1.0f };

            _halfCutBlend = new Blend();
            _halfCutBlend.Factors = new float[] { 0.0f, 0.50f, 1.0f, 0.05f };
            _halfCutBlend.Positions = new float[] { 0.0f, 0.45f, 0.45f, 1.0f };

            _quarterPhaseBlend = new Blend();
            _quarterPhaseBlend.Factors = new float[] { 0.0f, 0.0f, 0.25f, 0.70f, 1.0f, 1.0f };
            _quarterPhaseBlend.Positions = new float[] { 0.0f, 0.10f, 0.20f, 0.30f, 0.5f, 1.0f };

            _oneNoteBlend = new Blend();
            _oneNoteBlend.Factors = new float[] { 0.15f, 0.75f, 1.0f, 1.0f };
            _oneNoteBlend.Positions = new float[] { 0.0f, 0.45f, 0.45f, 1.0f };

            _rounding2Blend = new Blend();
            _rounding2Blend.Factors = new float[] { 0.8f, 0.2f, 0f, 0.07f, 1.0f };
            _rounding2Blend.Positions = new float[] { 0.0f, 0.33f, 0.33f, 0.43f, 1.0f };

            _rounding3Blend = new Blend();
            _rounding3Blend.Factors = new float[] { 1.0f, 0.7f, 0.7f, 0f, 0.1f, 0.55f, 1.0f, 1.0f };
            _rounding3Blend.Positions = new float[] { 0.0f, 0.16f, 0.33f, 0.35f, 0.51f, 0.85f, 0.85f, 1.0f };

            _rounding4Blend = new Blend();
            _rounding4Blend.Factors = new float[] { 1.0f, 0.78f, 0.48f, 1.0f, 1.0f };
            _rounding4Blend.Positions = new float[] { 0.0f, 0.33f, 0.33f, 0.90f, 1.0f };

            _rounding5Blend = new Blend();
            _rounding5Blend.Factors = new float[] { 0.0f, 0.0f, 1.0f, 1.0f };
            _rounding5Blend.Positions = new float[] { 0.0f, 0.20f, 0.84f, 1.0f };

            _ribbonInBlend = new Blend();
            _ribbonInBlend.Factors = new float[] { 0.66f, 1.0f, 0.0f };
            _ribbonInBlend.Positions = new float[] { 0.0f, 0.50f, 1.0f };

            _ribbonOutBlend = new Blend();
            _ribbonOutBlend.Factors = new float[] { 0.2f, 1.0f, 0.0f };
            _ribbonOutBlend.Positions = new float[] { 0.0f, 0.50f, 1.0f };

            _ribbonTopBlend = new Blend();
            _ribbonTopBlend.Factors = new float[] { 0.0f, 1.0f, 1.0f, 0.0f };
            _ribbonTopBlend.Positions = new float[] { 0.0f, 0.2f, 0.8f, 1.0f };

            _ribbonGroup1Blend = new Blend();
            _ribbonGroup1Blend.Factors = new float[] { 0.0f, 0.0f, 0.6f, 1.0f };
            _ribbonGroup1Blend.Positions = new float[] { 0.0f, 0.18f, 0.75f, 1.0f };

            _ribbonGroup2Blend = new Blend();
            _ribbonGroup2Blend.Factors = new float[] { 0.0f, 0.5f, 1.0f, 1.0f };
            _ribbonGroup2Blend.Positions = new float[] { 0.0f, 0.18f, 0.2f, 1.0f };

            _ribbonGroup3Blend = new Blend();
            _ribbonGroup3Blend.Factors = new float[] { 0.0f, 0.0f, 1.0f, 0.0f, 0.0f };
            _ribbonGroup3Blend.Positions = new float[] { 0.0f, 0.90f, 0.97f, 0.97f, 1.0f };

            _ribbonGroup4Blend = new Blend();
            _ribbonGroup4Blend.Factors = new float[] { 0.0f, 0.4f, 1.0f, 1.0f, };
            _ribbonGroup4Blend.Positions = new float[] { 0.0f, 0.045f, 0.33f, 1.0f };

            _ribbonGroup5Blend = new Blend();
            _ribbonGroup5Blend.Factors = new float[] { 0.0f, 0.0f, 1.0f };
            _ribbonGroup5Blend.Positions = new float[] { 0.0f, 0.5f, 1.0f };

            _ribbonGroup6Blend = new Blend();
            _ribbonGroup6Blend.Factors = new float[] { 0.0f, 0.0f, 1.0f };
            _ribbonGroup6Blend.Positions = new float[] { 0.0f, 0.4f, 1.0f };

            _ribbonGroup7Blend = new Blend();
            _ribbonGroup7Blend.Factors = new float[] { 0.0f, 1.0f, 1.0f, 0.0f };
            _ribbonGroup7Blend.Positions = new float[] { 0.0f, 0.15f, 0.85f, 1.0f };

            _ribbonGroup8Blend = new Blend();
            _ribbonGroup8Blend.Factors = new float[] { 0.0f, 0.0f, 1.0f};
            _ribbonGroup8Blend.Positions = new float[] { 0.0f, 0.85f, 1.0f };

            _ribbonGroup9Blend = new Blend();
            _ribbonGroup9Blend.Factors = new float[] { 0.0f, 0.5f, 0.75f, 0.9f, 1.0f };
            _ribbonGroup9Blend.Positions = new float[] { 0.0f, 0.25f, 0.50f, 0.75f, 1.0f };

            _ribbonGroupArea3 = new Blend();
            _ribbonGroupArea3.Factors = new float[] { 1.0f, 0.0f, 0.0f, 1.0f };
            _ribbonGroupArea3.Positions = new float[] { 0.0f, 0.1f, 0.85f, 1.0f };

            _ribbonTabSelected1Blend = new Blend();
            _ribbonTabSelected1Blend.Factors = new float[] { 0.0f, 0.0f, 0.0f, 1.0f, 1.0f };
            _ribbonTabSelected1Blend.Positions = new float[] { 0.0f, 0.50f, 0.50f, 0.9f, 1.0f };

            _ribbonTabSelected2Blend = new Blend();
            _ribbonTabSelected2Blend.Factors = new float[] { 0.0f, 1.0f, 1.0f };
            _ribbonTabSelected2Blend.Positions = new float[] { 0.0f, 0.75f, 1.0f };

            _ribbonTabTopBlend = new Blend();
            _ribbonTabTopBlend.Factors = new float[] { 0.0f, 1.0f, 1.0f };
            _ribbonTabTopBlend.Positions = new float[] { 0.0f, 0.2f, 1.0f };

            _ribbonAppButtonBlend = new Blend();
            _ribbonAppButtonBlend.Factors = new float[] { 0.0f, 0.0f, 0.5f, 1.0f, 1.0f };
            _ribbonAppButtonBlend.Positions = new float[] { 0.0f, 0.1f, 0.5f, 0.5f, 1.0f };

            _dragRoundedInsideBlend = new Blend();
            _dragRoundedInsideBlend.Factors = new float[] { 0.05f, 0.2f, 0.5f, 1.0f };
            _dragRoundedInsideBlend.Positions = new float[] { 0.0f, 0.5f, 0.5f, 1.0f };

            _paleShadowPen = new Pen(Color.FromArgb(6, Color.Black));
            _lightShadowPen = new Pen(Color.FromArgb(8, Color.Black));
            _mediumShadowPen = new Pen(Color.FromArgb(10, Color.Black));
            _medium2ShadowPen = new Pen(Color.FromArgb(12, Color.Black));
            _darkShadowPen = new Pen(Color.FromArgb(18, Color.Black));
            _light1Pen = new Pen(Color.FromArgb(150, Color.White));
            _light2Pen = new Pen(Color.FromArgb(100, Color.White));
            _whitenMediumPen = new Pen(_whiten128);
            _buttonShadowPen = new Pen(Color.FromArgb(48, Color.Black));
            _compositionPen = new Pen(Color.FromArgb(96, Color.Black));

            _whitenLightBrush = new SolidBrush(_whiten30);
            _whitenLightLBrush = new SolidBrush(_whiten64);
            _compositionBrush = new SolidBrush(Color.FromArgb(32, Color.White));

            _buttonBorder1Brush = new SolidBrush(Color.FromArgb(20, 52, 59, 64));
            _buttonBorder2Brush = new SolidBrush(Color.FromArgb(70, 52, 59, 64));

            _gridSortOrder = new ImageList();
            _gridSortOrder.TransparentColor = Color.Magenta;
            _gridSortOrder.ImageSize = new Size(17, 11);
            _gridSortOrder.Images.AddStrip(Properties.Resources.GridSortOrder);

            _gridRowIndicators = new ImageList();
            _gridRowIndicators.TransparentColor = Color.Magenta;
            _gridRowIndicators.ImageSize = new Size(19, 13);
            _gridRowIndicators.Images.AddStrip(Properties.Resources.GridRowIndicators);

            _gridErrorIcon = new ImageList();
            _gridErrorIcon.TransparentColor = Color.Magenta;
            _gridErrorIcon.ImageSize = new Size(18, 17);
            _gridErrorIcon.Images.AddStrip(Properties.Resources.GridErrorIcon);
        }
RenderStandard