ComponentFactory.Krypton.Ribbon.ViewDrawRibbonScrollButton.DrawArrow C# (CSharp) 메소드

DrawArrow() 개인적인 메소드

private DrawArrow ( Graphics g, Color textColor, Rectangle rect ) : void
g System.Drawing.Graphics
textColor Color
rect System.Drawing.Rectangle
리턴 void
        private void DrawArrow(Graphics g, Color textColor, Rectangle rect)
        {
            // Create path that describes the arrow in orientation needed
            using (GraphicsPath arrowPath = CreateArrowPath(rect))
                using (SolidBrush arrowBrush = new SolidBrush(textColor))
                    g.FillPath(arrowBrush, arrowPath);
        }