Skip to main content

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)

public TextPathSegmentEllipsis(
string ellipsis,
double width,
TextRunProperties textRunProperties,
FlowDirection flowDirection
)

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.

See Also

Reference

TextPathSegmentEllipsis Class
Avalonia.Media Namespace