Aspose::Font::Glyphs::GlyphId 类
GlyphId class
表示可在 Font 中使用的字形 ID。Glyph ID 是字形的唯一编号,取决于字体类型。例如:Type1 的 ID 是字形名称,是 (GlyphStringId) 类的实例。TTF 的 ID 是整数索引,是 (GlyphUInt32Id) 类的实例。
class GlyphId : public System::Object
方法
| 方法 | 描述 |
|---|---|
| virtual CompareTo(System::SharedPtr<GlyphId>) | |
| Equals(System::SharedPtr<System::Object>) override | 如果两个字形 ID 不相等,则返回 true。 |
| virtual GetHashCode() const | 返回对象的哈希码。 |
| virtual ToGlyphStringId() | 虚拟转换为 GlyphUInt32Id。GlyphUInt32Id 重写以返回实例。 |
| virtual ToGlyphUInt32Id() | 虚拟转换为 GlyphUInt32Id。GlyphUInt32Id 重写以返回实例。 |
| virtual ToString() const | 返回字形 ID 的字符串表示形式。 |
另见
- Class Object
- Namespace Aspose::Font::Glyphs
- Library Aspose.Font for C++