SKPath minuteHandPath = SKPath.ParseSvgPathData( SKPath hourHandPath = SKPath.ParseSvgPathData( SKPaint backgroundFillPaint = new SKPaint SKPaint transparentFillPaint = new SKPaint I am currently using SkiaSharp to draw a clock Maybe there is better way to draw analog clock so I can implement all this? I assume that I need to somehow connect the ondrag event and track in which coordinates the finger is.Īnd after the finger is released, I need to determine next to what hour or what minute the last coordinates were. The main questions is how to move hand with touch and how to get value from this. There is time picker with clock similar to this, but timepicker uses one hand and opens dialog window. I'm trying to find a way to move the hands in an analog clock and get an hour or minute value from their position.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |