Guest User

Untitled

a guest
Mar 31st, 2021
27
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <svg
  3. xmlns:dc="http://purl.org/dc/elements/1.1/"
  4. xmlns:cc="http://creativecommons.org/ns#"
  5. xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  6. xmlns:svg="http://www.w3.org/2000/svg"
  7. xmlns="http://www.w3.org/2000/svg"
  8. width="30.631"
  9. height="41.586"
  10. viewBox="0 0 30.631 41.586"
  11. version="1.1"
  12. id="svg3">
  13. <defs
  14. id="defs7" />
  15. <path
  16. id="Path_24"
  17. data-name="Path 24"
  18. d="m 0.80300014,20.387 q 0.33699996,5.6 0.67099996,11.2 0.151,2.5 0.3,5.008 l 3.951,3.449 1.192,1.041 a 8.413,8.413 0 0 1 8.3999999,-8.91 8.415,8.415 0 0 1 8.4,8.91 q 0.6,-0.522 1.19,-1.041 1.976,-1.723 3.951,-3.449 0.148,-2.5 0.3,-5.008 0.336,-5.6 0.671,-11.2 l 0.3,-5.07 A 14.816,14.816 0 0 0 15.313,0.5 14.816,14.816 0 0 0 0.50000014,15.318 Z"
  19. fill="none"
  20. stroke="#080f57"
  21. stroke-linecap="round"
  22. stroke-linejoin="round"
  23. stroke-width="1" />
  24. </svg>
  25.  
  26.  
  27.  
  28.  
  29.  
  30. class MyPainter extends CustomPainter {
  31. @override
  32. void paint(Canvas canvas, Size size) {
  33. Paint paint = Paint();
  34. Path path = Path();
  35.  
  36. paint.style = PaintingStyle.stroke;
  37. paint.strokeWidth = 5;
  38.  
  39. // Path number 1
  40.  
  41.  
  42. paint.color = Colors.blue;
  43. path = Path();
  44. path.moveTo(size.width * 0.03, size.height / 2);
  45. path.moveTo(size.width * 0.03, size.height / 2);
  46. path.cubicTo(size.width * 0.03, size.height * 0.59, size.width * 0.04, size.height * 0.69, size.width * 0.05, size.height * 0.78);
  47. path.cubicTo(size.width * 0.05, size.height * 0.82, size.width * 0.06, size.height * 0.86, size.width * 0.06, size.height * 0.9);
  48. path.cubicTo(size.width * 0.06, size.height * 0.9, size.width * 0.19, size.height, size.width * 0.19, size.height);
  49. path.cubicTo(size.width * 0.19, size.height, size.width * 0.23, size.height, size.width * 0.23, size.height);
  50. path.cubicTo(size.width * 0.22, size.height * 0.89, size.width * 0.35, size.height * 0.79, size.width * 0.52, size.height * 0.79);
  51. path.cubicTo(size.width * 0.68, size.height * 0.79, size.width * 0.81, size.height * 0.89, size.width * 0.8, size.height);
  52. path.cubicTo(size.width * 0.81, size.height, size.width * 0.83, size.height, size.width * 0.84, size.height);
  53. path.cubicTo(size.width * 0.89, size.height * 0.96, size.width * 0.93, size.height * 0.93, size.width * 0.97, size.height * 0.9);
  54. path.cubicTo(size.width * 0.98, size.height * 0.86, size.width * 0.98, size.height * 0.82, size.width * 0.98, size.height * 0.78);
  55. path.cubicTo(size.width, size.height * 0.69, size.width, size.height * 0.59, size.width, size.height / 2);
  56. path.cubicTo(size.width, size.height / 2, size.width * 1.02, size.height * 0.38, size.width * 1.02, size.height * 0.38);
  57. path.cubicTo(size.width * 1.02, size.height * 0.18, size.width * 0.79, size.height * 0.01, size.width * 0.52, size.height * 0.01);
  58. path.cubicTo(size.width * 0.24, size.height * 0.01, size.width * 0.02, size.height * 0.18, size.width * 0.02, size.height * 0.38);
  59. path.cubicTo(size.width * 0.02, size.height * 0.38, size.width * 0.03, size.height / 2, size.width * 0.03, size.height / 2);
  60. canvas.drawPath(path, paint);
  61. }
  62. @override
  63. bool shouldRepaint(CustomPainter oldDelegate) {
  64. return true;
  65. }
  66. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×