資源簡介
繪制高質(zhì)量的渲染文字
修改使用在UiTextRenderHQ.cs
修改效果在TextRender文件夾,其他demo點(diǎn)用戶名字查找,用的同一個代碼庫
用法簡單:
public Form1()
{
InitializeComponent();
/*
* TextRenderHQ(文字大小, 字體名稱, 顏色, 文字內(nèi)容, 是否有陰影);
*/
UiTextRenderHQ Tdr = new UiTextRenderHQ();
pictureBox1.Image = Tdr.TextRenderHQ(80, "book antiqua", "2159d6;e73c21;efba00;2159d6;31b639", "Google", true);
pictureBox2.Image = Tdr.TextRenderHQ(50, "微軟雅黑", "2159d6;e73c21;efba00;2159d6;31b639", "www.Haolizi.Net", true);
}
修改使用在UiTextRenderHQ.cs
修改效果在TextRender文件夾,其他demo點(diǎn)用戶名字查找,用的同一個代碼庫
用法簡單:
public Form1()
{
InitializeComponent();
/*
* TextRenderHQ(文字大小, 字體名稱, 顏色, 文字內(nèi)容, 是否有陰影);
*/
UiTextRenderHQ Tdr = new UiTextRenderHQ();
pictureBox1.Image = Tdr.TextRenderHQ(80, "book antiqua", "2159d6;e73c21;efba00;2159d6;31b639", "Google", true);
pictureBox2.Image = Tdr.TextRenderHQ(50, "微軟雅黑", "2159d6;e73c21;efba00;2159d6;31b639", "www.Haolizi.Net", true);
}
代碼片段和文件信息
/*---------------------------------------------
整理自用?C#?WinForm?常用Ui組件
適用版本:.Net?2.0?-?.Net?4.6?(32、64位)
設(shè)計:Song?Qiao?Ke??
??????????Email:?Qiaoke_Song@163.com
??????????QQ:2452243110
最后更新:2018.1.10
-----------------------------------------------*/
using?System;
using?System.Collections.Generic;
using?System.Windows.Forms;
using?System.Drawing;
using?System.ComponentModel;
using?System.Runtime.InteropServices;
public?partial?class?AlphaForm?:?Form
{
????public?Bitmap?窗體圖像;?/*窗體圖像*/
????double?_transparency;
????public?AlphaForm()
????{
????????if?(!DesignMode)
????????{
????????????m_layeredWnd?=?new?layeredWindow();
????????}
????????m_sizeMode?=?SizeModes.None;
????????m_Animation?=?Animations.None;
????????m_animationspeed?=?0;
????????m_background?=?nul
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
????..A..H.?????43008??2018-01-10?13:10??文字渲染\.vs\txtRender\v14\.suo
????..A..H.?????52224??2018-01-11?19:43??文字渲染\.vs\txtRender\v15\.suo
?????文件??????????0??2018-01-10?19:13??文字渲染\.vs\txtRender\v15\Server\sqlite3\db.lock
?????文件?????589824??2018-01-11?19:43??文字渲染\.vs\txtRender\v15\Server\sqlite3\storage.ide
?????文件????????189??2018-01-10?12:02??文字渲染\App.config
?????文件?????353280??2018-01-10?13:09??文字渲染\bin\Debug\SQK_Ui.dll
?????文件?????249344??2018-01-10?13:09??文字渲染\bin\Debug\SQK_Ui.pdb
?????文件???????8704??2018-01-11?19:43??文字渲染\bin\Debug\txtRender.exe
?????文件????????189??2018-01-10?12:02??文字渲染\bin\Debug\txtRender.exe.config
?????文件??????19968??2018-01-11?19:43??文字渲染\bin\Debug\txtRender.pdb
?????文件??????22696??2018-01-10?13:09??文字渲染\bin\Debug\txtRender.vshost.exe
?????文件????????189??2018-01-10?12:02??文字渲染\bin\Debug\txtRender.vshost.exe.config
?????文件????????490??2017-03-19?05:00??文字渲染\bin\Debug\txtRender.vshost.exe.manifest
?????文件????????641??2018-01-11?19:43??文字渲染\Form1.cs
?????文件???????3037??2018-01-11?19:43??文字渲染\Form1.Designer.cs
?????文件???????5817??2018-01-11?19:43??文字渲染\Form1.resx
?????文件????????521??2018-01-10?12:02??文字渲染\Program.cs
?????文件???????1326??2018-01-10?12:02??文字渲染\Properties\AssemblyInfo.cs
?????文件???????2831??2018-01-10?12:02??文字渲染\Properties\Resources.Designer.cs
?????文件???????5612??2018-01-10?12:02??文字渲染\Properties\Resources.resx
?????文件???????1096??2018-01-10?12:02??文字渲染\Properties\Settings.Designer.cs
?????文件????????249??2018-01-10?12:02??文字渲染\Properties\Settings.settings
?????文件???????4038??2018-01-10?12:05??文字渲染\txtRender.csproj
?????文件????????984??2018-01-10?12:02??文字渲染\txtRender.sln
????..A..H.?????30720??2018-01-10?13:09??WinForm_Ui\Ui_Dll\.vs\SQK_Ui\v14\.suo
????..A..H.?????41984??2018-01-10?19:13??WinForm_Ui\Ui_Dll\.vs\SQK_Ui\v15\.suo
?????文件??????????0??2018-01-10?19:12??WinForm_Ui\Ui_Dll\.vs\SQK_Ui\v15\Server\sqlite3\db.lock
?????文件?????786432??2018-01-10?19:13??WinForm_Ui\Ui_Dll\.vs\SQK_Ui\v15\Server\sqlite3\storage.ide
?????文件???????5824??2018-01-10?11:58??WinForm_Ui\Ui_Dll\3D_effect\Cube.cs
?????文件???????6414??2018-01-10?11:58??WinForm_Ui\Ui_Dll\3D_effect\FreeTransform.cs
............此處省略136個文件信息
- 上一篇:Windows10下的透明毛玻璃效果
- 下一篇:C# 開關(guān)按鈕效果
評論
共有 條評論