From d2e9d975bc395f85554f0f02fbf056ea05d89fbe Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Mon, 8 Apr 2024 12:48:30 +0200 Subject: [PATCH] Apply styles to derived types (#270) Fixes #177 --- samples/Maui/SkiaSharpDemo/Resources/Raw/Lottie/loadercat.json | 1 + .../Controls/Confetti/SKConfettiViewResources.shared.xaml | 1 + .../Controls/Lottie/SKLottieViewResources.shared.xaml | 1 + .../SkiaSharp.Extended.UI.Tests/TestAssets/Lottie/loadercat.json | 1 + 4 files changed, 4 insertions(+) create mode 100644 samples/Maui/SkiaSharpDemo/Resources/Raw/Lottie/loadercat.json create mode 100644 tests/SkiaSharp.Extended.UI.Tests/TestAssets/Lottie/loadercat.json diff --git a/samples/Maui/SkiaSharpDemo/Resources/Raw/Lottie/loadercat.json b/samples/Maui/SkiaSharpDemo/Resources/Raw/Lottie/loadercat.json new file mode 100644 index 00000000..cffec9d0 --- /dev/null +++ b/samples/Maui/SkiaSharpDemo/Resources/Raw/Lottie/loadercat.json @@ -0,0 +1 @@ +{"v":"5.4.2","fr":25,"ip":0,"op":32,"w":280,"h":200,"nm":"Loader_générique","ddd":1,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Museau Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[137.44,69.219,0],"ix":2},"a":{"a":0,"k":[4.076,1.879,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.742,1.626],[-1.687,-1.068]],"o":[[-2.162,-1.283],[1.688,1.068]],"v":[[1.084,-0.346],[-2.139,0.561]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.008000000785,0.004000000393,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[4.076,1.879],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":125,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Collier Blanc Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[134.367,162.9,0],"ix":2},"a":{"a":0,"k":[12,82,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-4.832,11.694],[0.244,1.662],[7.698,2.053],[-1.641,-10.997],[-1.149,-18.546],[0.81,-2.054],[0,0],[0,0],[0.164,4.924]],"o":[[0.641,-1.552],[-0.893,-6.097],[-9.848,-2.626],[1.641,10.997],[1.149,18.547],[-0.477,1.21],[0,0],[0,0],[-0.154,-4.616]],"v":[[10.421,-10.549],[11.113,-15.439],[-0.361,-37.775],[-9.717,-12.991],[-4.135,10.808],[-3.189,38.32],[-4.956,40.352],[8.84,40.401],[6.04,33.459]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.851000019148,0.870999983245,0.929000016755,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[11.608,40.651],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":125,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Ventre Blanc Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[153.803,152.168,0],"ix":2},"a":{"a":0,"k":[4.269,9.999,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[1.608,3.654],[0,0],[0,0],[-0.154,-0.467],[-1.966,-3.166],[0.37,-0.017],[0.408,-1.795],[-1.9,-0.585]],"o":[[0,0],[-0.542,-1.325],[0,0],[0.104,-0.48],[0.799,2.414],[0.195,0.314],[-1.136,0.052],[-0.408,1.793],[0,0]],"v":[[-3.946,9.749],[-2.119,4.342],[-4.019,2.515],[-1.48,-9.227],[-0.553,-9.282],[3.824,0.746],[3.452,1.477],[0,3.685],[2.032,9.741]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.728999956916,0.757000014361,0.847000002394,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[4.269,9.999],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":125,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Patte Droite Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[125.27,157.847,0],"ix":2},"a":{"a":0,"k":[6.144,4.34,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,1.424],[3.255,0],[0,-2.53],[-1.067,-0.829]],"o":[[1.31,-0.84],[0,-2.53],[-3.255,0],[0,1.265],[0,0]],"v":[[3.748,4.027],[5.894,0.492],[0,-4.09],[-5.894,0.492],[-3.912,4.09]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.2,0.226999993418,0.305999995213,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[6.144,4.34],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":125,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"Corps Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[140.308,112.467,0],"ix":2},"a":{"a":0,"k":[22.961,52.658,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[3.957,-0.631],[0,0],[0,12.491],[0,0],[-12.491,0],[0,-12.491],[0,0],[0,-4.516]],"o":[[0,0],[-12.491,0],[0,0],[0,-12.491],[12.491,0],[0,0],[0,10.794],[0,10]],"v":[[0.001,49.471],[0.001,49.471],[-22.711,26.76],[-22.711,-29.697],[0.001,-52.408],[22.711,-29.697],[22.711,34.865],[12.952,42.408]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.2,0.226999993418,0.305999995213,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[22.961,52.658],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":125,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"Arrière Train Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[145.806,123.604,0],"ix":2},"a":{"a":0,"k":[34.668,38.551,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.937,2.437],[0.079,8.745],[18.854,-0.274],[0,-26.848],[-2.691,-6.976],[-1.943,0],[0,0]],"o":[[2.751,-7.144],[-0.243,-26.829],[-18.822,0.274],[0,8.52],[0.935,2.423],[0,0],[1.953,0]],"v":[[30.133,34.363],[34.339,10.247],[-0.396,-38.027],[-34.417,10.891],[-30.195,34.398],[-25.51,38.301],[25.434,38.301]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.156999999402,0.180000005984,0.238999998803,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 2","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"fl","c":{"a":0,"k":[0.2,0.226999993418,0.305999995213,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[34.667,38.551],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":5,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":125,"st":0,"bm":0},{"ddd":0,"ind":7,"ty":4,"nm":"Oreillle Droite Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":4,"s":[0],"e":[-16]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":7,"s":[-16],"e":[0]},{"t":11}],"ix":10},"p":{"a":0,"k":[132.432,63.714,0],"ix":2},"a":{"a":0,"k":[7.207,11.228,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,-3.053],[0,0]],"o":[[0,0],[-1.442,-2.69],[0,0],[0,0]],"v":[[6.957,-2.142],[1.453,-8.288],[-4.07,-6.9],[-6.957,10.978]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.128999986836,0.141000007181,0.195999998205,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[7.207,11.228],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":125,"st":0,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":"Oreille Gauche Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":4,"s":[0],"e":[16]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"n":["0p667_1_0p333_0"],"t":7,"s":[16],"e":[0]},{"t":11}],"ix":10},"p":{"a":0,"k":[156.589,69.788,0],"ix":2},"a":{"a":0,"k":[7.856,17.275,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[1.417,22.687],[1.47,-2.676],[0,0],[0,0]],"o":[[-0.19,-3.047],[0,0],[0,0],[0,0]],"v":[[6.19,-12.905],[0.681,-14.349],[-7.607,-4.578],[5.423,17.025]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.128999986836,0.141000007181,0.195999998205,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[7.856,17.275],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":125,"st":0,"bm":0},{"ddd":0,"ind":9,"ty":4,"nm":"Queue","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[164.778,130.315,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[86.141,81.208,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.667,"y":0.751},"o":{"x":0.333,"y":0},"n":"0p667_0p751_0p333_0","t":0,"s":[{"i":[[0,0],[-7.536,17.971],[-11.024,9.843],[10.236,-20.079]],"o":[[0,0],[5.118,-12.205],[9.762,-8.716],[-12.555,24.628]],"v":[[7.638,18.504],[27.323,11.811],[23.78,-35.039],[46.614,-14.961]],"c":false}],"e":[{"i":[[0,0],[-7.536,17.971],[-1.181,21.26],[-14.567,-4.331]],"o":[[0,0],[5.118,-12.205],[0.726,-13.067],[26.497,7.878]],"v":[[7.638,18.504],[28.504,14.961],[25.354,-27.165],[44.252,-43.307]],"c":false}]},{"i":{"x":0.667,"y":0.751},"o":{"x":0.282,"y":0.238},"n":"0p667_0p751_0p282_0p238","t":2.391,"s":[{"i":[[0,0],[-7.536,17.971],[-1.181,21.26],[-14.567,-4.331]],"o":[[0,0],[5.118,-12.205],[0.726,-13.067],[26.497,7.878]],"v":[[7.638,18.504],[28.504,14.961],[25.354,-27.165],[44.252,-43.307]],"c":false}],"e":[{"i":[[0,0],[-11.102,2.362],[3.386,16.221],[-11.102,3.78]],"o":[[0,0],[9.764,-5.118],[-6.457,-15.669],[8.283,-3.29]],"v":[[7.638,18.504],[27.008,23.622],[38.11,-0.079],[36.85,-43.543]],"c":false}]},{"i":{"x":0.667,"y":0.751},"o":{"x":0.23,"y":0.194},"n":"0p667_0p751_0p23_0p194","t":4,"s":[{"i":[[0,0],[-11.102,2.362],[3.386,16.221],[-11.102,3.78]],"o":[[0,0],[9.764,-5.118],[-6.457,-15.669],[8.283,-3.29]],"v":[[7.638,18.504],[27.008,23.622],[38.11,-0.079],[36.85,-43.543]],"c":false}],"e":[{"i":[[0,0],[-13.832,0.656],[-7.848,11.207],[17.533,8.031]],"o":[[0,0],[5.853,-0.262],[7.9,-11.234],[-0.825,-8.874]],"v":[[7.638,18.504],[28.556,24.672],[48.556,8.871],[40.105,-29.291]],"c":false}]},{"i":{"x":0.667,"y":0.751},"o":{"x":0.23,"y":0.194},"n":"0p667_0p751_0p23_0p194","t":5.304,"s":[{"i":[[0,0],[-13.832,0.656],[-7.848,11.207],[17.533,8.031]],"o":[[0,0],[5.853,-0.262],[7.9,-11.234],[-0.825,-8.874]],"v":[[7.638,18.504],[28.556,24.672],[48.556,8.871],[40.105,-29.291]],"c":false}],"e":[{"i":[[0,0],[-13.832,0.656],[-7.848,11.207],[17.533,8.031]],"o":[[0,0],[5.853,-0.262],[7.9,-11.234],[-0.825,-8.874]],"v":[[7.638,18.504],[28.556,24.672],[48.556,8.871],[40.105,-29.291]],"c":false}]},{"i":{"x":0.667,"y":0.751},"o":{"x":0.23,"y":0.194},"n":"0p667_0p751_0p23_0p194","t":6.608,"s":[{"i":[[0,0],[-13.832,0.656],[-7.848,11.207],[17.533,8.031]],"o":[[0,0],[5.853,-0.262],[7.9,-11.234],[-0.825,-8.874]],"v":[[7.638,18.504],[28.556,24.672],[48.556,8.871],[40.105,-29.291]],"c":false}],"e":[{"i":[[0,0],[-19.291,-2.756],[-6.068,0.735],[14.961,15.748]],"o":[[0,0],[14.856,2.122],[12.992,-1.575],[-19.039,-20.041]],"v":[[7.638,18.504],[31.654,26.772],[61.181,26.772],[69.055,-11.417]],"c":false}]},{"i":{"x":0.667,"y":0.748},"o":{"x":0.282,"y":0.238},"n":"0p667_0p748_0p282_0p238","t":7.913,"s":[{"i":[[0,0],[-19.291,-2.756],[-6.068,0.735],[14.961,15.748]],"o":[[0,0],[14.856,2.122],[12.992,-1.575],[-19.039,-20.041]],"v":[[7.638,18.504],[31.654,26.772],[61.181,26.772],[69.055,-11.417]],"c":false}],"e":[{"i":[[0,0],[-9.843,-13.386],[-6.068,0.735],[14.961,15.748]],"o":[[0,0],[8.676,11.8],[12.992,-1.575],[-19.039,-20.041]],"v":[[7.638,18.504],[28.898,35.827],[61.181,46.063],[76.535,15.354]],"c":false}]},{"i":{"x":0.667,"y":0.745},"o":{"x":0.299,"y":0.252},"n":"0p667_0p745_0p299_0p252","t":9,"s":[{"i":[[0,0],[-9.843,-13.386],[-6.068,0.735],[14.961,15.748]],"o":[[0,0],[8.676,11.8],[12.992,-1.575],[-19.039,-20.041]],"v":[[7.638,18.504],[28.898,35.827],[61.181,46.063],[76.535,15.354]],"c":false}],"e":[{"i":[[0,0],[-13.78,-11.024],[-16.535,-2.756],[3.543,16.142]],"o":[[0,0],[11.437,9.15],[12.909,2.152],[-5.927,-27]],"v":[[7.638,18.504],[31.654,31.102],[65.118,51.969],[88.346,37.795]],"c":false}]},{"i":{"x":0.667,"y":0.745},"o":{"x":0.23,"y":0.194},"n":"0p667_0p745_0p23_0p194","t":10.479,"s":[{"i":[[0,0],[-13.78,-11.024],[-16.535,-2.756],[3.543,16.142]],"o":[[0,0],[11.437,9.15],[12.909,2.152],[-5.927,-27]],"v":[[7.638,18.504],[31.654,31.102],[65.118,51.969],[88.346,37.795]],"c":false}],"e":[{"i":[[0,0],[-15.354,-9.711],[-13.85,-6.658],[-0.394,15.354]],"o":[[0,0],[12.184,7.846],[10.837,5.24],[0.79,-25.902]],"v":[[7.638,18.504],[29.816,21.522],[60.262,65.486],[86.509,58.924]],"c":false}]},{"i":{"x":0.667,"y":0.745},"o":{"x":0.282,"y":0.238},"n":"0p667_0p745_0p282_0p238","t":11.782,"s":[{"i":[[0,0],[-15.354,-9.711],[-13.85,-6.658],[-0.394,15.354]],"o":[[0,0],[12.184,7.846],[10.837,5.24],[0.79,-25.902]],"v":[[7.638,18.504],[29.816,21.522],[60.262,65.486],[86.509,58.924]],"c":false}],"e":[{"i":[[0,0],[-18.504,-7.087],[-8.478,-14.462],[-8.268,13.78]],"o":[[0,0],[13.678,5.238],[6.693,11.417],[14.222,-23.704]],"v":[[7.638,18.504],[30.866,20.079],[52.913,53.543],[85.197,62.205]],"c":false}]},{"i":{"x":0.667,"y":0.745},"o":{"x":0.23,"y":0.194},"n":"0p667_0p745_0p23_0p194","t":13,"s":[{"i":[[0,0],[-18.504,-7.087],[-8.478,-14.462],[-8.268,13.78]],"o":[[0,0],[13.678,5.238],[6.693,11.417],[14.222,-23.704]],"v":[[7.638,18.504],[30.866,20.079],[52.913,53.543],[85.197,62.205]],"c":false}],"e":[{"i":[[0,0],[-19.716,-1.972],[-8.478,-14.462],[-14.567,-9.449]],"o":[[0,0],[11.811,1.181],[6.693,11.417],[19.26,12.493]],"v":[[7.638,18.504],[31.26,15.748],[58.425,36.22],[75.354,80.315]],"c":false}]},{"i":{"x":0.667,"y":0.745},"o":{"x":0.23,"y":0.194},"n":"0p667_0p745_0p23_0p194","t":14.304,"s":[{"i":[[0,0],[-19.716,-1.972],[-8.478,-14.462],[-14.567,-9.449]],"o":[[0,0],[11.811,1.181],[6.693,11.417],[19.26,12.493]],"v":[[7.638,18.504],[31.26,15.748],[58.425,36.22],[75.354,80.315]],"c":false}],"e":[{"i":[[0,0],[-18.038,8.199],[-8.478,-14.462],[3.162,-17.073]],"o":[[0,0],[12.992,-5.906],[6.693,11.417],[-3.937,21.26]],"v":[[7.638,18.504],[24.961,8.661],[64.724,21.26],[65.906,65.748]],"c":false}]},{"i":{"x":0.667,"y":0.745},"o":{"x":0.23,"y":0.194},"n":"0p667_0p745_0p23_0p194","t":15.608,"s":[{"i":[[0,0],[-18.038,8.199],[-8.478,-14.462],[3.162,-17.073]],"o":[[0,0],[12.992,-5.906],[6.693,11.417],[-3.937,21.26]],"v":[[7.638,18.504],[24.961,8.661],[64.724,21.26],[65.906,65.748]],"c":false}],"e":[{"i":[[0,0],[-12.023,13.541],[-12.31,-4.971],[9.449,-16.929]],"o":[[0,0],[7.874,-7.283],[19.882,11.024],[-10.537,18.88]],"v":[[7.638,18.504],[25.551,11.417],[57.047,6.299],[68.268,58.268]],"c":false}]},{"i":{"x":0.667,"y":0.745},"o":{"x":0.23,"y":0.194},"n":"0p667_0p745_0p23_0p194","t":16.913,"s":[{"i":[[0,0],[-12.023,13.541],[-12.31,-4.971],[9.449,-16.929]],"o":[[0,0],[7.874,-7.283],[19.882,11.024],[-10.537,18.88]],"v":[[7.638,18.504],[25.551,11.417],[57.047,6.299],[68.268,58.268]],"c":false}],"e":[{"i":[[0,0],[-6.008,18.882],[-16.143,4.52],[3.162,-17.073]],"o":[[0,0],[2.756,-8.661],[9.843,-2.756],[-3.937,21.26]],"v":[[7.638,18.504],[26.142,7.087],[50.157,-12.598],[86.378,8.268]],"c":false}]},{"i":{"x":0.667,"y":0.745},"o":{"x":0.23,"y":0.194},"n":"0p667_0p745_0p23_0p194","t":18.217,"s":[{"i":[[0,0],[-6.008,18.882],[-16.143,4.52],[3.162,-17.073]],"o":[[0,0],[2.756,-8.661],[9.843,-2.756],[-3.937,21.26]],"v":[[7.638,18.504],[26.142,7.087],[50.157,-12.598],[86.378,8.268]],"c":false}],"e":[{"i":[[0,0],[-1.968,14.567],[-12.493,11.178],[10.236,-22.441]],"o":[[0,0],[1.213,-8.974],[7.48,-6.693],[-8.973,19.671]],"v":[[7.638,18.504],[26.142,7.087],[27.323,-32.677],[52.52,-9.055]],"c":false}]},{"i":{"x":0.667,"y":1},"o":{"x":0.299,"y":0.252},"n":"0p667_1_0p299_0p252","t":19.521,"s":[{"i":[[0,0],[-1.968,14.567],[-12.493,11.178],[10.236,-22.441]],"o":[[0,0],[1.213,-8.974],[7.48,-6.693],[-8.973,19.671]],"v":[[7.638,18.504],[26.142,7.087],[27.323,-32.677],[52.52,-9.055]],"c":false}],"e":[{"i":[[0,0],[-7.536,17.971],[-11.024,9.843],[10.236,-20.079]],"o":[[0,0],[5.118,-12.205],[9.762,-8.716],[-12.555,24.628]],"v":[[7.638,18.504],[27.323,11.811],[23.78,-35.039],[46.614,-14.961]],"c":false}]},{"t":27.6083984375}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.20000001496,0.227450995352,0.305882352941,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":13,"ix":5},"lc":2,"lj":1,"ml":4,"ml2":{"a":0,"k":4,"ix":8},"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":125,"st":0,"bm":0},{"ddd":1,"ind":10,"ty":4,"nm":"Queue Ombre","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"rx":{"a":0,"k":58,"ix":8},"ry":{"a":0,"k":0,"ix":9},"rz":{"a":0,"k":0,"ix":10},"or":{"a":0,"k":[0,0,0],"ix":7},"p":{"a":0,"k":[166.547,152.16,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[68.913,64.966,80],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.667,"y":0.751},"o":{"x":0.333,"y":0},"n":"0p667_0p751_0p333_0","t":0,"s":[{"i":[[0,0],[-7.536,17.971],[-11.024,9.843],[10.236,-20.079]],"o":[[0,0],[5.118,-12.205],[9.762,-8.716],[-12.555,24.628]],"v":[[7.638,18.504],[27.323,11.811],[23.78,-35.039],[46.614,-14.961]],"c":false}],"e":[{"i":[[0,0],[-7.536,17.971],[-1.181,21.26],[-14.567,-4.331]],"o":[[0,0],[5.118,-12.205],[0.726,-13.067],[26.497,7.878]],"v":[[7.638,18.504],[28.504,14.961],[25.354,-27.165],[44.252,-43.307]],"c":false}]},{"i":{"x":0.667,"y":0.751},"o":{"x":0.282,"y":0.238},"n":"0p667_0p751_0p282_0p238","t":2.391,"s":[{"i":[[0,0],[-7.536,17.971],[-1.181,21.26],[-14.567,-4.331]],"o":[[0,0],[5.118,-12.205],[0.726,-13.067],[26.497,7.878]],"v":[[7.638,18.504],[28.504,14.961],[25.354,-27.165],[44.252,-43.307]],"c":false}],"e":[{"i":[[0,0],[-11.102,2.362],[3.386,16.221],[-11.102,3.78]],"o":[[0,0],[9.764,-5.118],[-6.457,-15.669],[8.283,-3.29]],"v":[[7.638,18.504],[27.008,23.622],[38.11,-0.079],[36.85,-43.543]],"c":false}]},{"i":{"x":0.667,"y":0.751},"o":{"x":0.23,"y":0.194},"n":"0p667_0p751_0p23_0p194","t":4,"s":[{"i":[[0,0],[-11.102,2.362],[3.386,16.221],[-11.102,3.78]],"o":[[0,0],[9.764,-5.118],[-6.457,-15.669],[8.283,-3.29]],"v":[[7.638,18.504],[27.008,23.622],[38.11,-0.079],[36.85,-43.543]],"c":false}],"e":[{"i":[[0,0],[-13.832,0.656],[-7.848,11.207],[17.533,8.031]],"o":[[0,0],[5.853,-0.262],[7.9,-11.234],[-0.825,-8.874]],"v":[[7.638,18.504],[28.556,24.672],[48.556,8.871],[40.105,-29.291]],"c":false}]},{"i":{"x":0.667,"y":0.751},"o":{"x":0.23,"y":0.194},"n":"0p667_0p751_0p23_0p194","t":5.304,"s":[{"i":[[0,0],[-13.832,0.656],[-7.848,11.207],[17.533,8.031]],"o":[[0,0],[5.853,-0.262],[7.9,-11.234],[-0.825,-8.874]],"v":[[7.638,18.504],[28.556,24.672],[48.556,8.871],[40.105,-29.291]],"c":false}],"e":[{"i":[[0,0],[-13.832,0.656],[-7.848,11.207],[17.533,8.031]],"o":[[0,0],[5.853,-0.262],[7.9,-11.234],[-0.825,-8.874]],"v":[[7.638,18.504],[28.556,24.672],[48.556,8.871],[40.105,-29.291]],"c":false}]},{"i":{"x":0.667,"y":0.751},"o":{"x":0.23,"y":0.194},"n":"0p667_0p751_0p23_0p194","t":6.608,"s":[{"i":[[0,0],[-13.832,0.656],[-7.848,11.207],[17.533,8.031]],"o":[[0,0],[5.853,-0.262],[7.9,-11.234],[-0.825,-8.874]],"v":[[7.638,18.504],[28.556,24.672],[48.556,8.871],[40.105,-29.291]],"c":false}],"e":[{"i":[[0,0],[-19.291,-2.756],[-6.068,0.735],[14.961,15.748]],"o":[[0,0],[14.856,2.122],[12.992,-1.575],[-19.039,-20.041]],"v":[[7.638,18.504],[31.654,26.772],[61.181,26.772],[69.055,-11.417]],"c":false}]},{"i":{"x":0.667,"y":0.748},"o":{"x":0.282,"y":0.238},"n":"0p667_0p748_0p282_0p238","t":7.913,"s":[{"i":[[0,0],[-19.291,-2.756],[-6.068,0.735],[14.961,15.748]],"o":[[0,0],[14.856,2.122],[12.992,-1.575],[-19.039,-20.041]],"v":[[7.638,18.504],[31.654,26.772],[61.181,26.772],[69.055,-11.417]],"c":false}],"e":[{"i":[[0,0],[-9.843,-13.386],[-6.068,0.735],[14.961,15.748]],"o":[[0,0],[8.676,11.8],[12.992,-1.575],[-19.039,-20.041]],"v":[[7.638,18.504],[28.898,35.827],[61.181,46.063],[76.535,15.354]],"c":false}]},{"i":{"x":0.667,"y":0.745},"o":{"x":0.299,"y":0.252},"n":"0p667_0p745_0p299_0p252","t":9,"s":[{"i":[[0,0],[-9.843,-13.386],[-6.068,0.735],[14.961,15.748]],"o":[[0,0],[8.676,11.8],[12.992,-1.575],[-19.039,-20.041]],"v":[[7.638,18.504],[28.898,35.827],[61.181,46.063],[76.535,15.354]],"c":false}],"e":[{"i":[[0,0],[-13.78,-11.024],[-16.535,-2.756],[3.543,16.142]],"o":[[0,0],[11.437,9.15],[12.909,2.152],[-5.927,-27]],"v":[[7.638,18.504],[31.654,31.102],[65.118,51.969],[88.346,37.795]],"c":false}]},{"i":{"x":0.667,"y":0.745},"o":{"x":0.23,"y":0.194},"n":"0p667_0p745_0p23_0p194","t":10.479,"s":[{"i":[[0,0],[-13.78,-11.024],[-16.535,-2.756],[3.543,16.142]],"o":[[0,0],[11.437,9.15],[12.909,2.152],[-5.927,-27]],"v":[[7.638,18.504],[31.654,31.102],[65.118,51.969],[88.346,37.795]],"c":false}],"e":[{"i":[[0,0],[-15.354,-9.711],[-13.85,-6.658],[-0.394,15.354]],"o":[[0,0],[12.184,7.846],[10.837,5.24],[0.79,-25.902]],"v":[[7.638,18.504],[29.816,21.522],[60.262,65.486],[86.509,58.924]],"c":false}]},{"i":{"x":0.667,"y":0.745},"o":{"x":0.282,"y":0.238},"n":"0p667_0p745_0p282_0p238","t":11.782,"s":[{"i":[[0,0],[-15.354,-9.711],[-13.85,-6.658],[-0.394,15.354]],"o":[[0,0],[12.184,7.846],[10.837,5.24],[0.79,-25.902]],"v":[[7.638,18.504],[29.816,21.522],[60.262,65.486],[86.509,58.924]],"c":false}],"e":[{"i":[[0,0],[-18.504,-7.087],[-8.478,-14.462],[-8.268,13.78]],"o":[[0,0],[13.678,5.238],[6.693,11.417],[14.222,-23.704]],"v":[[7.638,18.504],[30.866,20.079],[52.913,53.543],[85.197,62.205]],"c":false}]},{"i":{"x":0.667,"y":0.745},"o":{"x":0.23,"y":0.194},"n":"0p667_0p745_0p23_0p194","t":13,"s":[{"i":[[0,0],[-18.504,-7.087],[-8.478,-14.462],[-8.268,13.78]],"o":[[0,0],[13.678,5.238],[6.693,11.417],[14.222,-23.704]],"v":[[7.638,18.504],[30.866,20.079],[52.913,53.543],[85.197,62.205]],"c":false}],"e":[{"i":[[0,0],[-19.716,-1.972],[-8.478,-14.462],[-14.567,-9.449]],"o":[[0,0],[11.811,1.181],[6.693,11.417],[19.26,12.493]],"v":[[7.638,18.504],[31.26,15.748],[58.425,36.22],[75.354,80.315]],"c":false}]},{"i":{"x":0.667,"y":0.745},"o":{"x":0.23,"y":0.194},"n":"0p667_0p745_0p23_0p194","t":14.304,"s":[{"i":[[0,0],[-19.716,-1.972],[-8.478,-14.462],[-14.567,-9.449]],"o":[[0,0],[11.811,1.181],[6.693,11.417],[19.26,12.493]],"v":[[7.638,18.504],[31.26,15.748],[58.425,36.22],[75.354,80.315]],"c":false}],"e":[{"i":[[0,0],[-18.038,8.199],[-8.478,-14.462],[3.162,-17.073]],"o":[[0,0],[12.992,-5.906],[6.693,11.417],[-3.937,21.26]],"v":[[7.638,18.504],[24.961,8.661],[64.724,21.26],[65.906,65.748]],"c":false}]},{"i":{"x":0.667,"y":0.745},"o":{"x":0.23,"y":0.194},"n":"0p667_0p745_0p23_0p194","t":15.608,"s":[{"i":[[0,0],[-18.038,8.199],[-8.478,-14.462],[3.162,-17.073]],"o":[[0,0],[12.992,-5.906],[6.693,11.417],[-3.937,21.26]],"v":[[7.638,18.504],[24.961,8.661],[64.724,21.26],[65.906,65.748]],"c":false}],"e":[{"i":[[0,0],[-12.023,13.541],[-12.31,-4.971],[9.449,-16.929]],"o":[[0,0],[7.874,-7.283],[19.882,11.024],[-10.537,18.88]],"v":[[7.638,18.504],[25.551,11.417],[57.047,6.299],[68.268,58.268]],"c":false}]},{"i":{"x":0.667,"y":0.745},"o":{"x":0.23,"y":0.194},"n":"0p667_0p745_0p23_0p194","t":16.913,"s":[{"i":[[0,0],[-12.023,13.541],[-12.31,-4.971],[9.449,-16.929]],"o":[[0,0],[7.874,-7.283],[19.882,11.024],[-10.537,18.88]],"v":[[7.638,18.504],[25.551,11.417],[57.047,6.299],[68.268,58.268]],"c":false}],"e":[{"i":[[0,0],[-6.008,18.882],[-16.143,4.52],[3.162,-17.073]],"o":[[0,0],[2.756,-8.661],[9.843,-2.756],[-3.937,21.26]],"v":[[7.638,18.504],[26.142,7.087],[50.157,-12.598],[86.378,8.268]],"c":false}]},{"i":{"x":0.667,"y":0.745},"o":{"x":0.23,"y":0.194},"n":"0p667_0p745_0p23_0p194","t":18.217,"s":[{"i":[[0,0],[-6.008,18.882],[-16.143,4.52],[3.162,-17.073]],"o":[[0,0],[2.756,-8.661],[9.843,-2.756],[-3.937,21.26]],"v":[[7.638,18.504],[26.142,7.087],[50.157,-12.598],[86.378,8.268]],"c":false}],"e":[{"i":[[0,0],[-1.968,14.567],[-12.493,11.178],[10.236,-22.441]],"o":[[0,0],[1.213,-8.974],[7.48,-6.693],[-8.973,19.671]],"v":[[7.638,18.504],[26.142,7.087],[27.323,-32.677],[52.52,-9.055]],"c":false}]},{"i":{"x":0.667,"y":1},"o":{"x":0.299,"y":0.252},"n":"0p667_1_0p299_0p252","t":19.521,"s":[{"i":[[0,0],[-1.968,14.567],[-12.493,11.178],[10.236,-22.441]],"o":[[0,0],[1.213,-8.974],[7.48,-6.693],[-8.973,19.671]],"v":[[7.638,18.504],[26.142,7.087],[27.323,-32.677],[52.52,-9.055]],"c":false}],"e":[{"i":[[0,0],[-7.536,17.971],[-11.024,9.843],[10.236,-20.079]],"o":[[0,0],[5.118,-12.205],[9.762,-8.716],[-12.555,24.628]],"v":[[7.638,18.504],[27.323,11.811],[23.78,-35.039],[46.614,-14.961]],"c":false}]},{"t":27.6083984375}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.6,0.6,0.760784313725,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":15,"ix":5},"lc":2,"lj":1,"ml":4,"ml2":{"a":0,"k":4,"ix":8},"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":125,"st":0,"bm":0},{"ddd":0,"ind":11,"ty":4,"nm":"Ombre","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[142.54,156.967,0],"ix":2},"a":{"a":0,"k":[-52.446,2.907,0],"ix":1},"s":{"a":0,"k":[106.225,128.888,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[75.895,8.177],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0.599679146561,0.599679146561,0.75925245098,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-52.446,2.907],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":125,"st":0,"bm":0}],"markers":[]} \ No newline at end of file diff --git a/source/SkiaSharp.Extended.UI.Maui/Controls/Confetti/SKConfettiViewResources.shared.xaml b/source/SkiaSharp.Extended.UI.Maui/Controls/Confetti/SKConfettiViewResources.shared.xaml index 8148113a..b0529df3 100644 --- a/source/SkiaSharp.Extended.UI.Maui/Controls/Confetti/SKConfettiViewResources.shared.xaml +++ b/source/SkiaSharp.Extended.UI.Maui/Controls/Confetti/SKConfettiViewResources.shared.xaml @@ -17,6 +17,7 @@