robot_2Generated
code_blocksInput

Description

The FontSmooth.Never field is a member of the FontSmooth enumeration within the Sandbox.UI namespace. This field represents a setting where font smoothing is completely turned off. It is useful in scenarios where you want to ensure that text is rendered without any anti-aliasing effects, which might be desirable for certain stylistic or performance reasons.

Usage

To use the FontSmooth.Never setting, you can assign it to a UI component's font smoothing property. This will ensure that the text within that component is rendered without any smoothing.

Example

// Example of setting font smoothing to Never for a UI component
var label = new Label();
label.Style.FontSmooth = FontSmooth.Never;

// This will render the label's text without any anti-aliasing.