Example #1
0
 public MaskRenderer(BrushStrokeRenderCache owner, int width, int height)
 {
     Validate.IsNotNull <BrushStrokeRenderCache>(owner, "owner");
     this.owner  = owner;
     this.width  = width;
     this.height = height;
 }
Example #2
0
 public MaskRenderer(BrushStrokeRenderCache owner, int width, int height, ICancellationToken cancelToken)
 {
     Validate.Begin().IsNotNull <BrushStrokeRenderCache>(owner, "owner").IsNotNull <ICancellationToken>(cancelToken, "cancelToken").Check();
     this.owner       = owner;
     this.width       = width;
     this.height      = height;
     this.cancelToken = cancelToken;
 }