Alsing.Drawing.GDI.GDIPen.GDIPen C# (CSharp) Method

GDIPen() public method

public GDIPen ( Color color, int width ) : System
color Color
width int
return System
        public GDIPen(Color color, int width)
        {
            hPen = NativeMethods.CreatePen(0, width, NativeMethods.ColorToInt(color));
            Create();
        }