一、[Android实例]实现TextView里的文字有不同颜色 转eoe:http://www.eoeandroid.com/thread-4496-1-1.html import android.text.Html; TextView t3 = (TextView) findViewById(R.id.text3); t3.setText( Html.fromHtml( "text3: Text with a " + "link " + "created in the Java sourc
Microsoft Visual Studio 2010做的C#把文字做成图片实例,主要代码: Bitmap bitmapOut = new Bitmap(600, 600); Graphics graOut = Graphics.FromImage(bitmapOut); //创建画笔 graOut.FillRectangle(Brushes.White, new Rectangle(0, 0, 600, 600)); //把b1涂成白色 Font fontText = new Font("