public Drawing(Size size, DrawingFunc func) { if (func == null) { throw new ArgumentNullException ("func"); } this.size = size; this.func = func; }
public Drawing(Size size, DrawingFunc func) { if (func == null) { throw new ArgumentNullException("func"); } this.size = size; this.func = func; }
public Drawing (Size size, DrawingFunc func, IPlatform textPlatform) { if (func == null) { throw new ArgumentNullException ("func"); } this.size = size; this.func = func; this.textPlatform = textPlatform ?? new NullPlatform (); }
public Drawing(Size size, DrawingFunc func, IPlatform textPlatform) { if (func == null) { throw new ArgumentNullException("func"); } this.size = size; this.func = func; this.textPlatform = textPlatform ?? new NullPlatform(); }