Back to API Reference
Struct
LayoutSettings
sealed
Configuration for text layout and positioning.
Remarks
Used by TextLayout to control how text is positioned within the available bounds. Includes settings for maximum dimensions, spacing, and alignment.
public static LayoutSettings Default{ get }Gets the default layout settings with unlimited dimensions and top-left alignment.
public HorizontalAlignment horizontalAlignmentHorizontal text alignment within the layout bounds.
public VerticalAlignment verticalAlignmentVertical text alignment within the layout bounds.
public TextOverEdge overEdgeTop edge metric for text box trimming.
public TextUnderEdge underEdgeBottom edge metric for text box trimming.
public LeadingDistribution leadingDistributionHow extra leading from line-height is distributed relative to the content area.
