Struct D2D1Ellipse
Contains the center point, x-radius, and y-radius of an ellipse.
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
public struct D2D1Ellipse : IEquatable<D2D1Ellipse>
Constructors
|
Edit this page
View Source
D2D1Ellipse(D2D1Point2F, float, float)
Declaration
public D2D1Ellipse(D2D1Point2F point, float radiusX, float radiusY)
Parameters
| Type |
Name |
Description |
| D2D1Point2F |
point |
The center point of the ellipse.
|
| float |
radiusX |
The X-radius of the ellipse.
|
| float |
radiusY |
The Y-radius of the ellipse.
|
Properties
|
Edit this page
View Source
Point
Gets or sets the center point of the ellipse.
Declaration
public D2D1Point2F Point { get; set; }
Property Value
|
Edit this page
View Source
RadiusX
Gets or sets the X-radius of the ellipse.
Declaration
public float RadiusX { get; set; }
Property Value
|
Edit this page
View Source
RadiusY
Gets or sets the Y-radius of the ellipse.
Declaration
public float RadiusY { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(D2D1Ellipse)
Declaration
public readonly bool Equals(D2D1Ellipse 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 D2D1Ellipse NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<D2D1Ellipse>)
Declaration
public static void NativeReadFrom(nint buffer, Span<D2D1Ellipse> 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 D2D1Ellipse)
Declaration
public static void NativeWriteTo(nint buffer, in D2D1Ellipse obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<D2D1Ellipse>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<D2D1Ellipse> objects)
Parameters
Operators
|
Edit this page
View Source
operator ==(D2D1Ellipse, D2D1Ellipse)
Declaration
public static bool operator ==(D2D1Ellipse left, D2D1Ellipse right)
Parameters
Returns
|
Edit this page
View Source
operator !=(D2D1Ellipse, D2D1Ellipse)
Declaration
public static bool operator !=(D2D1Ellipse left, D2D1Ellipse right)
Parameters
Returns
Implements