SkiaTextLayout 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.
Provides functionality for laying out text using SkiaSharp.
public ref class SkiaTextLayout : IDisposable
public class SkiaTextLayout : IDisposable
type SkiaTextLayout = class
interface IDisposable
Public Class SkiaTextLayout
Implements IDisposable
- Inheritance
-
SkiaTextLayout
- Implements
Constructors
| Name | Description |
|---|---|
| SkiaTextLayout(String, RectF, ITextAttributes, LayoutLine, TextFlow, SKFont) |
Initializes a new instance of the SkiaTextLayout class. |
| SkiaTextLayout(String, RectF, ITextAttributes, LayoutLine, TextFlow, SKPaint) |
Obsolete.
Initializes a new instance of the SkiaTextLayout class. |
Properties
| Name | Description |
|---|---|
| WordWrap |
Gets or sets a value indicating whether text should wrap to the next line when it exceeds the layout width. |
Methods
| Name | Description |
|---|---|
| Dispose() |
Releases all resources used by this text layout. |
| LayoutText() |
Performs layout of text within the specified rectangle. |