mercredi 4 juin 2008

Yin Yang Xaml

<Grid>
<
Path Style="{DynamicResource Yin}">
<
Path.Data>
<
PathGeometry>
<
PathGeometry.Figures>
<
PathFigure StartPoint="100,0" IsClosed="False">
<
ArcSegment Point="100,100" Size="25,25" SweepDirection="Clockwise" />
<
ArcSegment Point="100,200" Size="25,25" SweepDirection="Counterclockwise" />
<
ArcSegment Point="100,0" Size="50,50" SweepDirection="Clockwise" />
</
PathFigure>
</
PathGeometry.Figures>
</
PathGeometry>
</
Path.Data>
</
Path>
<
Path Style="{DynamicResource Yang}">
<
Path.Data>
<
PathGeometry>
<
PathGeometry.Figures>
<
PathFigure StartPoint="100,200" IsClosed="False">
<
ArcSegment Point="100,100" Size="25,25" SweepDirection="Clockwise"/>
<
ArcSegment Point="100,0" Size="25,25" SweepDirection="Counterclockwise" />
<
ArcSegment Point="100,200" Size="50,50" SweepDirection="Clockwise" />
</
PathFigure>
</
PathGeometry.Figures>
</
PathGeometry>
</
Path.Data>
</
Path>
<
Path Style="{DynamicResource Yin}">
<
Path.Data>
<
PathGeometry>
<
PathGeometry.Figures>
<
PathFigure StartPoint="100,150" IsClosed="False">
<
ArcSegment Point="100,149" Size="15,15" IsLargeArc="True" SweepDirection="Clockwise" />
</
PathFigure>
</
PathGeometry.Figures>
</
PathGeometry>
</
Path.Data>
</
Path>
<
Path Style="{DynamicResource Yang}">
<
Path.Data>
<
PathGeometry>
<
PathGeometry.Figures>
<
PathFigure StartPoint="100,50" IsClosed="False">
<
ArcSegment Point="100,51" Size="15,15" IsLargeArc="True" SweepDirection="Clockwise" />
</
PathFigure>
</
PathGeometry.Figures>
</
PathGeometry>
</
Path.Data>
</
Path>
</
Grid>

Sans commentaires ....

Aucun commentaire: