Hocu da kreiram polukruzni button na wpf aplikaciji.
Iskoristi sam sledeci kod:
Code:
<Path Name="HalfEllipse" Stroke="Black" StrokeThickness="1" Fill="Blue">
<Path.Data>
<PathGeometry>
<PathFigure IsFilled="True" StartPoint="0,0">
<PolyBezierSegment Points="5,30 25,30 30,0" />
</PathFigure>
</PathGeometry>
</Path.Data>
</Path>
<Path Name="HalfEllipse" Stroke="Black" StrokeThickness="1" Fill="Blue">
<Path.Data>
<PathGeometry>
<PathFigure IsFilled="True" StartPoint="0,0">
<PolyBezierSegment Points="5,30 25,30 30,0" />
</PathFigure>
</PathGeometry>
</Path.Data>
</Path>
Malo prepravim ove tacke i dobijem polukrug. Problem je u borderu (stroke)
znaci, fali border kod presjeka elipse, sto se vidi na sledecoj slici:
SLIKA
Ima li neko rjesenje??
ps nije bas polukrug na slici, al' 'ajd :D
Zahvaljujem unaprijed,
Poz