SKTextBlobBuilder 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.
A builder object that is used to create a SKTextBlob.
public class SKTextBlobBuilder : SkiaSharp.SKObject
- Inheritance
Constructors
| Name | Description |
|---|---|
| SKTextBlobBuilder() |
Creates a new instance of SKTextBlobBuilder. |
Properties
| Name | Description |
|---|---|
| Handle |
Gets or sets the handle to the underlying native object. (Inherited from SKObject) |
| IgnorePublicDispose |
Gets a value indicating whether the call the public Dispose() should be no-op. (Inherited from SKNativeObject) |
| IsDisposed |
Gets a value indicating whether the object has already been disposed. (Inherited from SKNativeObject) |
| OwnsHandle |
Gets or sets a value indicating whether this object owns its handle and should destroy the native object when it is disposed. (Inherited from SKNativeObject) |
Methods
| Name | Description |
|---|---|
| AddHorizontalRun(ReadOnlySpan<UInt16>, SKFont, ReadOnlySpan<Single>, Single) |
Adds a new horizontally-positioned run to the builder. |
| AddPathPositionedRun(ReadOnlySpan<UInt16>, SKFont, ReadOnlySpan<Single>, ReadOnlySpan<SKPoint>, SKPath, SKTextAlign) |
Adds a new run positioned along a path. |
| AddPositionedRun(ReadOnlySpan<UInt16>, SKFont, ReadOnlySpan<SKPoint>) |
Adds a new fully-positioned run to the builder. |
| AddRotationScaleRun(ReadOnlySpan<UInt16>, SKFont, ReadOnlySpan<SKRotationScaleMatrix>) |
Adds a new run with rotation and scale transformations. |
| AddRun(ReadOnlySpan<UInt16>, SKFont, SKPoint) |
Adds a new run to the builder at the specified origin. |
| AllocateHorizontalRun(SKFont, Int32, Single, Nullable<SKRect>) |
Allocates a buffer for a horizontally-positioned run. |
| AllocateHorizontalTextRun(SKFont, Int32, Single, Int32, Nullable<SKRect>) |
Allocates a buffer for a fully-positioned run. |
| AllocatePositionedRun(SKFont, Int32, Nullable<SKRect>) |
Allocates a buffer for a fully-positioned run. |
| AllocatePositionedTextRun(SKFont, Int32, Int32, Nullable<SKRect>) |
Allocates a buffer for a positioned run with text storage. |
| AllocateRawHorizontalRun(SKFont, Int32, Single, Nullable<SKRect>) |
Allocates a raw buffer for a horizontal run. |
| AllocateRawHorizontalTextRun(SKFont, Int32, Single, Int32, Nullable<SKRect>) |
Allocates a raw buffer for a horizontally-positioned run with text storage. |
| AllocateRawPositionedRun(SKFont, Int32, Nullable<SKRect>) |
Allocates a raw buffer for a positioned run. |
| AllocateRawPositionedTextRun(SKFont, Int32, Int32, Nullable<SKRect>) |
Allocates a raw buffer for a positioned run with text storage. |
| AllocateRawRotationScaleRun(SKFont, Int32, Nullable<SKRect>) |
Allocates a raw buffer for a rotation-scale run. |
| AllocateRawRotationScaleTextRun(SKFont, Int32, Int32, Nullable<SKRect>) |
Allocates a raw buffer for a rotation-scale run with text storage. |
| AllocateRawRun(SKFont, Int32, Single, Single, Nullable<SKRect>) |
Allocates a raw buffer for a run at the specified position. |
| AllocateRawTextRun(SKFont, Int32, Single, Single, Int32, Nullable<SKRect>) |
Allocates a buffer for a rotation-scale run. |
| AllocateRotationScaleRun(SKFont, Int32, Nullable<SKRect>) |
Allocates a buffer for a rotation-scale text run with cluster data. |
| AllocateRotationScaleTextRun(SKFont, Int32, Int32, Nullable<SKRect>) |
Allocates a buffer for a positioned run with text storage. |
| AllocateRun(SKFont, Int32, Single, Single, Nullable<SKRect>) |
Allocates a buffer for a run at a fixed origin. |
| AllocateTextRun(SKFont, Int32, Single, Single, Int32, Nullable<SKRect>) |
Allocates a buffer for a run with text storage at the specified position. |
| Build() |
Create the SKTextBlob from all the added runs. |
| Dispose() |
Releases all resources used by this SKNativeObject. (Inherited from SKNativeObject) |
| Dispose(Boolean) |
Releases the unmanaged resources used by the SKTextBlobBuilder and optionally releases the managed resources. |
| DisposeInternal() |
Triggers a dispose, ignoring the value of IgnorePublicDispose. (Inherited from SKNativeObject) |
| DisposeManaged() |
Implemented by derived SKObject types to destroy any managed objects. (Inherited from SKObject) |
| DisposeNative() |
Implemented by derived SKObject types to destroy any native objects. |
| DisposeUnownedManaged() |
Implemented by derived SKObject types to dispose managed objects that are not owned by this instance. (Inherited from SKObject) |