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)
- C#
- VB
- F#
public GenericTextParagraphProperties(
FlowDirection flowDirection,
TextAlignment textAlignment,
bool firstLineInParagraph,
bool alwaysCollapsible,
TextRunProperties defaultTextRunProperties,
TextWrapping textWrap,
double lineHeight,
double indent,
double letterSpacing
)
Public Sub New (
flowDirection As FlowDirection,
textAlignment As TextAlignment,
firstLineInParagraph As Boolean,
alwaysCollapsible As Boolean,
defaultTextRunProperties As TextRunProperties,
textWrap As TextWrapping,
lineHeight As Double,
indent As Double,
letterSpacing As Double
)
new :
flowDirection : FlowDirection *
textAlignment : TextAlignment *
firstLineInParagraph : bool *
alwaysCollapsible : bool *
defaultTextRunProperties : TextRunProperties *
textWrap : TextWrapping *
lineHeight : float *
indent : float *
letterSpacing : float -> GenericTextParagraphProperties
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