public void Builder(string sourceImg, string waterImg) { _builder.SetSourceImage(sourceImg); if (_builder is WaterImageBuilderByText == false) _builder.SetWaterImage(waterImg); var opetion = new WaterImageTileOption { Offset = new Point((int)NumOffsetX.Value, (int)NumOffsetY.Value), Space = new Size((int)NumspaceX.Value, (int)NumspaceY.Value), Opacity = (float)NumOpacity.Value / 100 }; _builder.SetOpetion(opetion); PicTarget.Image = _builder.ProcessBitmap(); }
/// <summary> /// /// </summary> protected override void InitOption() { if (_opetion == null) _opetion = new WaterImageTileOption(); }