Property SafeClipBounds
- Namespace
- PaintDotNet.DirectWrite
- Assembly
- PaintDotNet.Windows.Core.dll
SafeClipBounds
Gets a safe clipping rectangle for this block of text useful for rendering purposes.
public RectFloat SafeClipBounds { get; }
Property Value
Remarks
This differs from the black box in a few ways. It ignores negative overhangs, and it also adds a small amount of padding around the text to ensure that things like pixel snapping, grid fitting, and hinting do not adversely affect clipping.