System.Drawing.Pen.Pen C# (CSharp) Méthode

Pen() public méthode

public Pen ( Color color, float width ) : CoreGraphics
color Color
width float
Résultat CoreGraphics
        public Pen(Color color, float width)
        {
            brush = new SolidBrush (color);
            this.width = width;
        }

Same methods

Pen::Pen ( Brush brush ) : CoreGraphics
Pen::Pen ( Brush brush, float width ) : CoreGraphics
Pen::Pen ( Color color ) : CoreGraphics