System.Drawing.Brush.Clone C# (CSharp) Method

Clone() public abstract method

public abstract Clone ( ) : object
return object
        public abstract object Clone();

Usage Example

Ejemplo n.º 1
0
 public Entry(string s, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format)
 {
     this.s               = s;
     this.font            = (Font)font.Clone();      // An owner could possibly call Dispose()!
     this.brush           = (Brush)brush.Clone();
     this.layoutRectangle = layoutRectangle;
     this.format          = (StringFormat)format.Clone();
 }
All Usage Examples Of System.Drawing.Brush::Clone