Skip to main content

GenericTextParagraphProperties(FlowDirection, TextAlignment, Boolean, Boolean, TextRunProperties, TextWrapping, Double, Double, Double) Constructor

Constructing TextParagraphProperties

Definition

Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public GenericTextParagraphProperties(
FlowDirection flowDirection,
TextAlignment textAlignment,
bool firstLineInParagraph,
bool alwaysCollapsible,
TextRunProperties defaultTextRunProperties,
TextWrapping textWrap,
double lineHeight,
double indent,
double letterSpacing
)

Parameters

  FlowDirection
text flow direction
  TextAlignment
logical horizontal alignment
  Boolean
true if the paragraph is the first line in the paragraph
  Boolean
true if the line is always collapsible
  TextRunProperties
default paragraph's default run properties
  TextWrapping
text wrap option
  Double
Paragraph line height
  Double
line indentation
  Double
letter spacing

See Also

Reference

GenericTextParagraphProperties Class
GenericTextParagraphProperties Overload
Avalonia.Media.TextFormatting Namespace