|
AnyCAD Rapid API 2026
Help you to create a better world!
|
The font manager 更多...
Public 成员函数 | |
| FontManager (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| 仅供内部使用 | |
| void | Dispose () |
| string | GetDefaultFont () |
| uint | GetTextureResolution () |
| void | SetTextureResolution (uint val) |
| Texture2D | CreateTexture (string text, float height, string fontName) |
| Texture2D | CreateTexture (string text, float height) |
| BufferGeometry | CreateMesh (string text, string fontName, float fontHeight) |
| BufferGeometry | CreateMesh (string text, string fontName) |
| BufferGeometry | CreateMesh (string text) |
| BufferGeometry | CreateGeometry (string text, EnumFontType fontType, EnumTextAlignment alignment, float fontHeight, string fontName) |
| BufferGeometry | CreateGeometry (string text, EnumFontType fontType, EnumTextAlignment alignment, float fontHeight) |
| BufferGeometry | CreateGeometry (string text, EnumFontType fontType, EnumTextAlignment alignment) |
| StringList | AddTTCFonts (string fontPath) |
| 添加ttc字体文件,不支持字体重命名 | |
| bool | AddFont (string fontName, string fontPath) |
| void | SetDefaultFont (string fontName) |
静态 Public 成员函数 | |
| static FontManager | Instance () |
| static FontManager | GetInstance () |
The font manager
Group: Rendering
| StringList AnyCAD.Foundation.FontManager.AddTTCFonts | ( | string | fontPath | ) |
添加ttc字体文件,不支持字体重命名
| fontPath |