@@ -23,40 +23,40 @@ public TouchDrawLettersImagePage()
2323
2424 private void AddLetter_Clicked ( object sender , System . EventArgs e )
2525 {
26- this . _counter ++ ;
26+ _counter ++ ;
2727
2828 this . control
2929 . TouchDrawLetters
3030 . Add (
3131 new TouchDrawLetter
3232 {
33- Value = this . _counter . ToString ( ) ,
33+ Value = _counter . ToString ( ) ,
3434 ForegroundColorOverride =
35- Color . FromRgba ( this . _rngesus . Next ( 0 , 255 ) , this . _rngesus . Next ( 0 , 255 ) , this . _rngesus . Next ( 0 , 255 ) ,
36- this . _rngesus . Next ( 0 , 255 ) ) ,
37- BackgroundColorOverride = Color . FromRgba ( this . _rngesus . Next ( 0 , 255 ) , this . _rngesus . Next ( 0 , 255 ) ,
38- this . _rngesus . Next ( 0 , 255 ) , this . _rngesus . Next ( 0 , 255 ) ) ,
35+ Color . FromRgba ( _rngesus . Next ( 0 , 255 ) , _rngesus . Next ( 0 , 255 ) , _rngesus . Next ( 0 , 255 ) ,
36+ _rngesus . Next ( 0 , 255 ) ) ,
37+ BackgroundColorOverride = Color . FromRgba ( _rngesus . Next ( 0 , 255 ) , _rngesus . Next ( 0 , 255 ) ,
38+ _rngesus . Next ( 0 , 255 ) , _rngesus . Next ( 0 , 255 ) ) ,
3939 } ) ;
4040
4141 this . control . VisualEffects . Add (
4242 new Watermark
4343 {
44- WatermarkText = $ "Eight-Bot { this . _counter } ",
45- FontSize = this . _fontSize ++ ,
44+ WatermarkText = $ "Eight-Bot { _counter } ",
45+ FontSize = _fontSize ++ ,
4646 ForegroundColor =
47- Color . FromRgba ( this . _rngesus . Next ( 0 , 255 ) , this . _rngesus . Next ( 0 , 255 ) , this . _rngesus . Next ( 0 , 255 ) ,
48- this . _rngesus . Next ( 0 , 255 ) ) ,
47+ Color . FromRgba ( _rngesus . Next ( 0 , 255 ) , _rngesus . Next ( 0 , 255 ) , _rngesus . Next ( 0 , 255 ) ,
48+ _rngesus . Next ( 0 , 255 ) ) ,
4949 BackgroundColor =
50- Color . FromRgba ( this . _rngesus . Next ( 0 , 255 ) , this . _rngesus . Next ( 0 , 255 ) , this . _rngesus . Next ( 0 , 255 ) ,
51- this . _rngesus . Next ( 0 , 255 ) ) ,
52- HorizontalWatermarkLocation = Extensions . RandomEnum < Watermark . WatermarkLocation > ( this . _rngesus ) ,
53- VerticalWatermarkLocation = Extensions . RandomEnum < Watermark . WatermarkLocation > ( this . _rngesus ) ,
50+ Color . FromRgba ( _rngesus . Next ( 0 , 255 ) , _rngesus . Next ( 0 , 255 ) , _rngesus . Next ( 0 , 255 ) ,
51+ _rngesus . Next ( 0 , 255 ) ) ,
52+ HorizontalWatermarkLocation = Extensions . RandomEnum < Watermark . WatermarkLocation > ( _rngesus ) ,
53+ VerticalWatermarkLocation = Extensions . RandomEnum < Watermark . WatermarkLocation > ( _rngesus ) ,
5454 } ) ;
5555 }
5656
5757 private async void Export_Clicked ( object sender , System . EventArgs e )
5858 {
59- this . _counter = 'A' ;
59+ _counter = 'A' ;
6060
6161 var fileName = $ "touchletters-{ Guid . NewGuid ( ) } .jpg";
6262 var outputFile = Path . Combine ( FileSystem . CacheDirectory , $ "dest-{ fileName } ") ;
0 commit comments