TextPathSegmentEllipsis Constructor
Initializes a new instance of the TextPathSegmentEllipsis class that represents an ellipsis segment in a text path with the specified symbol, width, text formatting properties, and flow direction.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public TextPathSegmentEllipsis(
string ellipsis,
double width,
TextRunProperties textRunProperties,
FlowDirection flowDirection
)
Public Sub New (
ellipsis As String,
width As Double,
textRunProperties As TextRunProperties,
flowDirection As FlowDirection
)
new :
ellipsis : string *
width : float *
textRunProperties : TextRunProperties *
flowDirection : FlowDirection -> TextPathSegmentEllipsis
Parameters
- String
- The string to use as the ellipsis symbol in the text path segment. Cannot be null.
- Double
- The width.
- TextRunProperties
- The text formatting properties to apply to the ellipsis symbol. Cannot be null.
- FlowDirection
- The flow direction for rendering the ellipsis segment. Specifies whether text flows left-to-right or right-to-left.