如何在C#中用圆圈写文字 [英] how to write a text in circle in C#
本文介绍了如何在C#中用圆圈写文字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨。
i用这段代码画了一个圆圈:
this.CreateGraphics()。FillEllipse(Brushes.Yellow,120,130,30,30);
我想在里面写一个文字。
我该怎么做?
解决方案
这些CodeProject文章和答案可以帮助你
自定义文本 - C#中的定向控件 - 第一部分(标签控制) [ ^ ]
用形状填充文字 [ ^ ]
hi.
i drawn a circle by this code:
this.CreateGraphics().FillEllipse(Brushes.Yellow, 120, 130, 30, 30);
and i want to write a text in it.
how do i do it?
解决方案
These CodeProject articles and answers may help you
Customized Text - Orientated Controls in C# - Part I (Label Control)[^]
Fill text with in a Shape[^]
这篇关于如何在C#中用圆圈写文字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文