internal void DrawEndSide(Graphics graphics) { if (m_endSide != null) { // checks if the side is visible if (EndAngle > 90 && EndAngle < 270) m_endSide.Draw(graphics, m_pen, m_brushSurface); else m_endSide.Draw(graphics, m_pen, m_brushEndSide); } }