Struct DWriteOverhangMetrics
The DWRITE_OVERHANG_METRICS structure holds how much any visible pixels
(in DIPs) overshoot each side of the layout or inline objects.
Assembly: JeremyAnsel.DirectX.DWrite.dll
Syntax
public struct DWriteOverhangMetrics : IEquatable<DWriteOverhangMetrics>
Properties
|
Edit this page
View Source
Bottom
Gets the distance from the bottom-most visible DIP to its bottom alignment edge.
Declaration
public float Bottom { get; }
Property Value
|
Edit this page
View Source
Left
Gets the distance from the left-most visible DIP to its left alignment edge.
Declaration
public float Left { get; }
Property Value
|
Edit this page
View Source
Right
Gets the distance from the right-most visible DIP to its right alignment edge.
Declaration
public float Right { get; }
Property Value
|
Edit this page
View Source
Top
Gets the distance from the top-most visible DIP to its top alignment edge.
Declaration
public float Top { get; }
Property Value
Methods
|
Edit this page
View Source
Equals(DWriteOverhangMetrics)
Declaration
public readonly bool Equals(DWriteOverhangMetrics other)
Parameters
Returns
|
Edit this page
View Source
Equals(object?)
Declaration
public override readonly bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override readonly int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
NativeReadFrom(nint)
Declaration
public static DWriteOverhangMetrics NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<DWriteOverhangMetrics>)
Declaration
public static void NativeReadFrom(nint buffer, Span<DWriteOverhangMetrics> objects)
Parameters
|
Edit this page
View Source
NativeRequiredSize()
Declaration
public static int NativeRequiredSize()
Returns
|
Edit this page
View Source
NativeRequiredSize(int)
Declaration
public static int NativeRequiredSize(int count)
Parameters
| Type |
Name |
Description |
| int |
count |
|
Returns
|
Edit this page
View Source
NativeWriteTo(nint, in DWriteOverhangMetrics)
Declaration
public static void NativeWriteTo(nint buffer, in DWriteOverhangMetrics obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<DWriteOverhangMetrics>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<DWriteOverhangMetrics> objects)
Parameters
Operators
|
Edit this page
View Source
operator ==(DWriteOverhangMetrics, DWriteOverhangMetrics)
Declaration
public static bool operator ==(DWriteOverhangMetrics left, DWriteOverhangMetrics right)
Parameters
Returns
|
Edit this page
View Source
operator !=(DWriteOverhangMetrics, DWriteOverhangMetrics)
Declaration
public static bool operator !=(DWriteOverhangMetrics left, DWriteOverhangMetrics right)
Parameters
Returns
Implements