Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Xamarin Forms SKCanvasView

$
0
0

So from my basic understanding I have created an SKCanvasView and gets the finger painting working like in all the samples...etc. Just trying to find what is the way to clear my SKCanvasView? Does anyone have an example? I'd just like to have a button to clear the canvas. Or point me in the right direction

   <Grid>
<Grid x:Name="CanvasGrid">
    <forms:SKCanvasView x:Name="CanvasView" PaintSurface="PaintSurface"/>
</Grid>
    <Grid.Effects>
    <helpers:TouchEffect Capture="True" TouchAction="OnTouchEffectAction"/>
    </GridEffects>
   </Grid>
   <Button Text="Clear" Clicked="ClearCanvas"/>

THanks.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>