User Tools

Site Tools

blog:2023-06-01_c_graph_3d_poly_line_set_as_transparent



2023-06-01 C#: Graph 3D Poly Line Set as Transparent

  • We would like let the poly line set as transparent.

Method

  • Rewrite the Graph3D.cs
  • as follows
  •         public Color PolygonLineColor
            {
                set
                {
                    Debug.Assert(!InvokeRequired); // Do not call from other threads or use Invoke()
                    mi_PolyLinePen = null;
                    Invalidate(); // repaint only
                }
                get
                {
                    if (mi_PolyLinePen != null) return mi_PolyLinePen.Color;
                    else                        return Color.Empty;
                }
            }

TAGS

  • 90 person(s) visited this page until now.

Permalink blog/2023-06-01_c_graph_3d_poly_line_set_as_transparent.txt · Last modified: 2023/06/01 13:12 by jethro

oeffentlich