Struct D2D1SizeU
Stores an ordered pair of integers, typically the width and height of a rectangle.
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
public struct D2D1SizeU : IEquatable<D2D1SizeU>
Constructors
|
Edit this page
View Source
D2D1SizeU(uint, uint)
Initializes a new instance of the D2D1SizeU struct.
Declaration
public D2D1SizeU(uint width, uint height)
Parameters
| Type |
Name |
Description |
| uint |
width |
The horizontal component of this size.
|
| uint |
height |
The vertical component of this size.
|
Properties
|
Edit this page
View Source
Height
Gets or sets the vertical component of this size.
Declaration
public uint Height { get; set; }
Property Value
|
Edit this page
View Source
Width
Gets or sets the horizontal component of this size.
Declaration
public uint Width { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(D2D1SizeU)
Declaration
public readonly bool Equals(D2D1SizeU 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 D2D1SizeU NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<D2D1SizeU>)
Declaration
public static void NativeReadFrom(nint buffer, Span<D2D1SizeU> 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 D2D1SizeU)
Declaration
public static void NativeWriteTo(nint buffer, in D2D1SizeU obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<D2D1SizeU>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<D2D1SizeU> objects)
Parameters
Operators
|
Edit this page
View Source
operator ==(D2D1SizeU, D2D1SizeU)
Declaration
public static bool operator ==(D2D1SizeU left, D2D1SizeU right)
Parameters
Returns
|
Edit this page
View Source
operator !=(D2D1SizeU, D2D1SizeU)
Declaration
public static bool operator !=(D2D1SizeU left, D2D1SizeU right)
Parameters
Returns
Implements