Struct D2D1Ellipse
Contains the center point, x-radius, and y-radius of an ellipse.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D2D1
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
public struct D2D1Ellipse : IEquatable<D2D1Ellipse>
Constructors
| Edit this page View SourceD2D1Ellipse(D2D1Point2F, float, float)
Initializes a new instance of the D2D1Ellipse struct.
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 SourcePoint
Gets or sets the center point of the ellipse.
Declaration
public D2D1Point2F Point { get; set; }
Property Value
Type | Description |
---|---|
D2D1Point2F |
RadiusX
Gets or sets the X-radius of the ellipse.
Declaration
public float RadiusX { get; set; }
Property Value
Type | Description |
---|---|
float |
RadiusY
Gets or sets the Y-radius of the ellipse.
Declaration
public float RadiusY { get; set; }
Property Value
Type | Description |
---|---|
float |
Methods
| Edit this page View SourceEquals(D2D1Ellipse)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(D2D1Ellipse other)
Parameters
Type | Name | Description |
---|---|---|
D2D1Ellipse | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceGetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A 32-bit signed integer that is the hash code for this instance. |
Overrides
Operators
| Edit this page View Sourceoperator ==(D2D1Ellipse, D2D1Ellipse)
Compares two D2D1Ellipse objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(D2D1Ellipse left, D2D1Ellipse right)
Parameters
Type | Name | Description |
---|---|---|
D2D1Ellipse | left | The left D2D1Ellipse to compare. |
D2D1Ellipse | right | The right D2D1Ellipse to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(D2D1Ellipse, D2D1Ellipse)
Compares two D2D1Ellipse objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(D2D1Ellipse left, D2D1Ellipse right)
Parameters
Type | Name | Description |
---|---|---|
D2D1Ellipse | left | The left D2D1Ellipse to compare. |
D2D1Ellipse | right | The right D2D1Ellipse to compare. |
Returns
Type | Description |
---|---|
bool |