/// <summary> /// 渲染箭头(固定大小) /// </summary> /// <param name="rect">渲染区域</param> /// <param name="direction">箭头方向</param> /// <param name="style">大小样式</param> public void RenderArrow(Rectangle rect, ArrowDirection direction, SizeStyle style) { if (this.m_State == State.Hidden || !RectangleEx.IsVisible(rect)) { return; } this.CurrentTextPreferredRect = rect; RenderEngine.DrawArrow(this.m_Graphics, this.CurrentTextPreferredRect, this.CurrentForeColor, direction, style); }