Unplanned
Last Updated: 18 Dec 2023 13:55 by Pavani
Created by: Pavani
Comments: 0
Category: Path
Type: Feature Request
0
Add ability to define geometries in absolute units (pixels) similar to MAUI Path control.
Declined
Last Updated: 22 Mar 2022 16:05 by ADMIN
Created by: Daniel
Comments: 1
Category: Path
Type: Bug Report
1

Using the code below, you will find the following exception is thrown:

Happens on Android and Windows (have not tested on iOS/MacCatalyst) using UI for MAUI 0.6.0 running on MAUI preview14

Repro Code

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage ... xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.Maui.Controls.Compatibility"
             xmlns:telerikCommon="clr-namespace:Telerik.XamarinForms.Common;assembly=Telerik.Maui.Controls.Compatibility">
    <Grid>
        <Grid WidthRequest="200"
              HeightRequest="200">
            <telerikPrimitives:RadPath x:Name="simpleLinePath"
                                       StrokeThickness="4"
                                       Stroke="#2EC262">
                <telerikCommon:RadPathGeometry>
                    <telerikCommon:RadPathFigure StartPoint="0.8, 0.1">
                        <telerikCommon:RadLineSegment Point="0.1, 0.8" />
                    </telerikCommon:RadPathFigure>
                </telerikCommon:RadPathGeometry>
            </telerikPrimitives:RadPath>
        </Grid>
    </Grid>
</ContentPage>