BaselinePixelAlignment Enum
Definition
Specifies the baseline pixel alignment options for rendering text or graphics.
public enum BaselinePixelAlignment
Remarks
Use this enumeration to control whether the baseline of rendered content is aligned to the pixel grid, which can affect visual crispness and positioning. The value may influence rendering quality, especially at small font sizes or when precise alignment is required.
Fields
| Name | Description |
|---|---|
| Aligned | The baseline is aligned to the pixel grid. |
| Unaligned | The baseline is not aligned to the pixel grid. |
| Unspecified | The baseline pixel alignment is unspecified. |
Aligned Field
The baseline is aligned to the pixel grid.
public Avalonia.Media.BaselinePixelAlignment Aligned
Unaligned Field
The baseline is not aligned to the pixel grid.
public Avalonia.Media.BaselinePixelAlignment Unaligned
Unspecified Field
The baseline pixel alignment is unspecified.
public Avalonia.Media.BaselinePixelAlignment Unspecified