UnicodeFunctions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a collection of callback functions used by HarfBuzz for Unicode character property lookups such as script, general category, and combining class.
public class UnicodeFunctions : HarfBuzzSharp.NativeObject
- Inheritance
Constructors
| Name | Description |
|---|---|
| UnicodeFunctions(UnicodeFunctions) |
Initializes a new instance of the UnicodeFunctions class that inherits from the specified parent. |
Properties
| Name | Description |
|---|---|
| Default |
Gets the default UnicodeFunctions instance with built-in Unicode support. |
| Empty |
Gets a reference to the empty UnicodeFunctions instance with no callbacks set. |
| Handle |
Gets or sets the handle to the underlying native object. (Inherited from NativeObject) |
| IsImmutable |
Gets a value indicating whether this Unicode functions instance is immutable. |
| Parent |
Gets the parent Unicode functions that this instance inherits from. |
Methods
| Name | Description |
|---|---|
| Dispose() |
Releases all resources used by this NativeObject. (Inherited from NativeObject) |
| Dispose(Boolean) |
Releases the unmanaged resources used by the UnicodeFunctions and optionally releases the managed resources. |
| DisposeHandler() |
Releases the unmanaged resources used. |
| GetCombiningClass(Int32) |
Gets the canonical combining class of the specified Unicode code point. |
| GetCombiningClass(UInt32) |
Gets the canonical combining class of the specified Unicode code point. |
| GetGeneralCategory(Int32) |
Gets the general category of the specified Unicode code point. |
| GetGeneralCategory(UInt32) |
Gets the general category of the specified Unicode code point. |
| GetMirroring(Int32) |
Gets the mirrored code point for bidirectional text rendering. |
| GetMirroring(UInt32) |
Gets the mirrored code point for bidirectional text rendering. |
| GetScript(Int32) |
Gets the script of the specified Unicode code point. |
| GetScript(UInt32) |
Gets the script of the specified Unicode code point. |
| MakeImmutable() |
Makes this Unicode functions instance immutable, preventing further modifications. |
| SetCombiningClassDelegate(CombiningClassDelegate, ReleaseDelegate) |
Sets the callback for retrieving the canonical combining class of a Unicode code point. |
| SetComposeDelegate(ComposeDelegate, ReleaseDelegate) |
Sets the callback for composing two Unicode code points into a single code point. |
| SetDecomposeDelegate(DecomposeDelegate, ReleaseDelegate) |
Sets the callback for decomposing a Unicode code point into two code points. |
| SetGeneralCategoryDelegate(GeneralCategoryDelegate, ReleaseDelegate) |
Sets the callback for retrieving the general category of a Unicode code point. |
| SetMirroringDelegate(MirroringDelegate, ReleaseDelegate) |
Sets the callback for retrieving the mirrored glyph of a Unicode code point. |
| SetScriptDelegate(ScriptDelegate, ReleaseDelegate) |
Sets the callback for retrieving the script of a Unicode code point. |
| TryCompose(Int32, Int32, Int32) |
Attempts to compose two Unicode code points into a single code point. |
| TryCompose(UInt32, UInt32, UInt32) |
Attempts to compose two Unicode code points into a single code point. |
| TryDecompose(Int32, Int32, Int32) |
Attempts to decompose a Unicode code point into two code points. |
| TryDecompose(UInt32, UInt32, UInt32) |
Attempts to decompose a Unicode code point into two code points. |