Draw a circle in WPF using min(width, height)/2 as radius

后端 未结 2 1655
故里飘歌
故里飘歌 2021-02-20 09:26

How I can draw a circle in WPF (without code-behind) using min(width, height)/2 as radius?

2条回答
  •  野的像风
    2021-02-20 09:56

    Where does width and height come from? Example XAML for a circle is:

        
           
        
    

    A circle is just an Ellipse where Height = Width.

提交回复
热议问题