Struct D2D1Triangle
Contains the three vertices that describe a triangle.
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
public struct D2D1Triangle : IEquatable<D2D1Triangle>
Constructors
|
Edit this page
View Source
D2D1Triangle(D2D1Point2F, D2D1Point2F, D2D1Point2F)
Declaration
public D2D1Triangle(D2D1Point2F point1, D2D1Point2F point2, D2D1Point2F point3)
Parameters
| Type |
Name |
Description |
| D2D1Point2F |
point1 |
The first vertex of a triangle.
|
| D2D1Point2F |
point2 |
The second vertex of a triangle.
|
| D2D1Point2F |
point3 |
The third vertex of a triangle.
|
Properties
|
Edit this page
View Source
Point1
Gets or sets the first vertex of a triangle.
Declaration
public D2D1Point2F Point1 { get; set; }
Property Value
|
Edit this page
View Source
Point2
Gets or sets the second vertex of a triangle.
Declaration
public D2D1Point2F Point2 { get; set; }
Property Value
|
Edit this page
View Source
Point3
Gets or sets the third vertex of a triangle.
Declaration
public D2D1Point2F Point3 { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(D2D1Triangle)
Declaration
public readonly bool Equals(D2D1Triangle 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 D2D1Triangle NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<D2D1Triangle>)
Declaration
public static void NativeReadFrom(nint buffer, Span<D2D1Triangle> 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 D2D1Triangle)
Declaration
public static void NativeWriteTo(nint buffer, in D2D1Triangle obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<D2D1Triangle>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<D2D1Triangle> objects)
Parameters
Operators
|
Edit this page
View Source
operator ==(D2D1Triangle, D2D1Triangle)
Declaration
public static bool operator ==(D2D1Triangle left, D2D1Triangle right)
Parameters
Returns
|
Edit this page
View Source
operator !=(D2D1Triangle, D2D1Triangle)
Declaration
public static bool operator !=(D2D1Triangle left, D2D1Triangle right)
Parameters
Returns
Implements