How to draw this border in XAML -
this interesting question. first picture, in xaml, can draw border:
border width="10" height="10" corderradius="0,10,0,0" background="red"
the remaining part of area transparent.
however, how can draw sec image reverse colors, using border, while maintain uncolored area transparent?
thanks.i can now,thank you, happy :)
you have create path
<path data="m0,0 l20,0 l19.4838,0.006531 c8.84821,0.275986 0.275986,8.84821 0.006531,19.4838 l0,20 z" fill="red" height="10" stretch="fill" width="10"/>
you can accomplish using blend. draw rectangle , ellipse this
select both ellipse , rectangle (but create sure select ellipse first , rectangle second). right click (combine -> subtract).
xaml
No comments:
Post a Comment