<?xml version="1.0" encoding="utf-8" ?>
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:views="clr-namespace:Dollet.Views"
             xmlns:converters="clr-namespace:Dollet.Conventers"
             x:Class="Dollet.Views.RoundedTopElement">

    <ContentView.Resources>
        <ResourceDictionary>
            <converters:StringToGeometryConverter x:Key="PathGeometryConverter"/>
        </ResourceDictionary>
    </ContentView.Resources>

    <Path 
        VerticalOptions="Start"
        ZIndex="-1"
        Margin="0, -2, 0, 0"
        Fill="{DynamicResource Primary}" 
        Aspect="Uniform" 
        Data="{Binding Data, Converter={StaticResource PathGeometryConverter}}"/>
</ContentView>
