Struct OverhangMetrics
- Namespace
- SharpDX.DirectWrite
- Assembly
- SharpDX.Direct2D1.dll
Indicates how much any visible DIPs (device independent pixels) overshoot each side of the layout or inline objects.
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.
public struct OverhangMetrics
- Inherited Members
Fields
Bottom
The distance from the bottom-most visible DIP to its lower-alignment edge.
public float Bottom
Field Value
Left
The distance from the left-most visible DIP to its left-alignment edge.
public float Left
Field Value
Right
The distance from the right-most visible DIP to its right-alignment edge.
public float Right
Field Value
Top
The distance from the top-most visible DIP to its top alignment edge.
public float Top