e=&quot;running.png&quot;
    Columns=&quot;8&quot;
    Rows=&quot;1&quot;
    SpeedRatio=&quot;2.0&quot; /&gt;
</code></pre>
<h3 id="example-button-with-animated-states">Example: Button with Animated States</h3>
<pre><code class="lang-xml">&lt;draw:SkiaShape
    Type=&quot;Rectangle&quot;
    CornerRadius=&quot;8&quot;
    BackgroundColor=&quot;#3498DB&quot;
    WidthRequest=&quot;200&quot;
    HeightRequest=&quot;60&quot;&gt;
    
    &lt;draw:SkiaHotspot Tapped=&quot;OnButtonTapped&quot;&gt;
        &lt;