Hello,
After investigating the RectangleGeometry class, there are no properties for Transform. Therefore, you cannot set MatrixTransform
for the RectangleGeometry class.
In MAUI, you could refer to Transform matrix for more details about how to use MatrixTransform
in path.
<Path Fill="#231F20" >
<Path.RenderTransform>
<MatrixTransform Matrix="0.9945 -0.1046 0.1046 0.9945 -3.5763 28.8519"/>
</Path.RenderTransform>
<Path.Data>
<RectangleGeometry Rect="271.87,42.76,3.1,11.55" >
</RectangleGeometry>
</Path.Data>
</Path>
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.