Struct OverhangMetrics
- Namespace
- PaintDotNet.DirectWrite
- Assembly
- PaintDotNet.Windows.dll
Indicates how much any visible DIPs (device independent pixels) overshoot each side of the layout or inline objects.
public readonly struct OverhangMetrics : IEquatable<OverhangMetrics>
- Implements
- Inherited Members
Remarks
Positive overhangs indicate that the visible area extends outside the layout box or inline object, while negative values mean there is whitespace inside. The returned values are unaffected by rendering transforms or pixel snapping. Additionally, they may not exactly match the final target's pixel bounds after applying grid fitting and hinting.
Properties
- Bottom
Gets the distance from the bottom-most visible DIP to its alignment edge.
- Left
Gets the distance from the left-most visible DIP to its alignment edge.
- Right
Gets the distance from the right-most visible DIP to its alignment edge.
- Top
Gets the distance from the top-most visible DIP to its alignment edge.