Table of Contents

Property BlackBoxBounds

Namespace
PaintDotNet.DirectWrite
Assembly
PaintDotNet.Windows.Core.dll

BlackBoxBounds

The black box rectangle for the text block. This is the rectangle that is affected by rendering, and includes the overhang metrics.

public RectFloat BlackBoxBounds { get; }

Property Value

RectFloat

Remarks

This is a convenience function that takes an alignment point of (0,0), the width and height, and then adds in the overhang metrics for each edge to calculate the bounding black box. Due to pixel snapping, grid fitting, or hinting, this may not exactly match the pixel boundaries for rendering.