Page 1 of 1

CombinedGeometry (Exclude)

Posted: 19 Mar 2025, 07:34
by Logrus
Hi
CombinedGeometry draws only the Geometry2.
<Grid
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
              <Canvas>
                <Path Fill="LightBlue" Stroke="Black" StrokeThickness="2">
                    <Path.Data>
                        <CombinedGeometry GeometryCombineMode="Exclude">
                            <CombinedGeometry.Geometry1>
                                <RectangleGeometry Rect="50,50,700,550"/>
                            </CombinedGeometry.Geometry1>
                            <CombinedGeometry.Geometry2>
                                <EllipseGeometry Center="150,125" RadiusX="150" RadiusY="150"/>
                            </CombinedGeometry.Geometry2>
                        </CombinedGeometry>
                    </Path.Data>
                </Path>
            </Canvas>
</Grid>
How can I use CombinedGeometry?

Re: CombinedGeometry (Exclude)

Posted: 19 Mar 2025, 14:28
by Logrus
I found a ticket for this issue #1948

Re: CombinedGeometry (Exclude)

Posted: 20 Mar 2025, 04:56
by jsantos
Yes, this is still not implemented. Sorry for the inconvenience.