Description
The Point
field is a member of the ImageRendering
enumeration within the Sandbox.UI
namespace. It represents a rendering option where no filtering is applied to the image. This is often used when a pixelated or sharp look is desired, as it does not smooth out the image.
Usage
Use the Point
field when you want to apply no filtering to an image, resulting in a pixelated appearance. This is particularly useful for retro-style graphics or when precise pixel representation is required.
Example
// Example of using ImageRendering.Point
var imageComponent = new ImageComponent();
imageComponent.RenderingMode = ImageRendering.Point;
// This will render the image with no filtering, maintaining a pixelated look.