public Pen(Color color, float width) { if (width < 1.0f) { width = 1.0f; } this.color = color; this.width = width; native = LibIGraph.CreatePen_Color(width, color.ToArgb()); }