Skip to main content

LineBreak Structure

Information about a potential line break position

Definition​

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

public readonly struct LineBreak : IEquatable<LineBreak>
View Source
InheritanceObject → ValueType → LineBreak
ImplementsIEquatable(LineBreak)

Constructors​

LineBreak(Int32, Int32, Boolean)Constructor

Properties​

PositionMeasureThe break position, before any trailing whitespace
PositionWrapThe break position, after any trailing whitespace
RequiredTrue if there should be a forced line break here

Methods​

GetType()Gets the Type of the current instance.
(Inherited from Object)

See Also​

Reference​

Avalonia.Media.TextFormatting.Unicode Namespace