Skip to main content

TextLineBreak Class

Definition​

Assembly:Avalonia.Base
Package:Avalonia
public class TextLineBreak

Inheritance: object -> TextLineBreak

Constructors​

NameDescription
TextLineBreakNo summary available.

TextLineBreak Constructor​

public TextLineBreak(Avalonia.Media.TextFormatting.TextEndOfLine textEndOfLine, Avalonia.Media.FlowDirection flowDirection, bool isSplit)

Parameters​

textEndOfLine Avalonia.Media.TextFormatting.TextEndOfLine

flowDirection Avalonia.Media.FlowDirection

isSplit bool

Properties​

NameDescription
FlowDirectionGet the flow direction for remaining characters.
IsSplitGets whether there were remaining runs after this line break, that were split up by the Avalonia.Media.TextFormatting.TextFormatter during the formatting process.
TextEndOfLineGet the end of line run.

FlowDirection Property​

Get the flow direction for remaining characters.

public Avalonia.Media.FlowDirection FlowDirection { get; set; }

IsSplit Property​

Gets whether there were remaining runs after this line break, that were split up by the Avalonia.Media.TextFormatting.TextFormatter during the formatting process.

public bool IsSplit { get; set; }

TextEndOfLine Property​

Get the end of line run.

public Avalonia.Media.TextFormatting.TextEndOfLine TextEndOfLine { get; set; }