Struct D2D1QuadraticBezierSegment
Contains the control point and end point for a quadratic Bezier segment.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D2D1
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
public struct D2D1QuadraticBezierSegment : IEquatable<D2D1QuadraticBezierSegment>
Constructors
| Edit this page View SourceD2D1QuadraticBezierSegment(D2D1Point2F, D2D1Point2F)
Initializes a new instance of the D2D1QuadraticBezierSegment struct.
Declaration
public D2D1QuadraticBezierSegment(D2D1Point2F point1, D2D1Point2F point2)
Parameters
Type | Name | Description |
---|---|---|
D2D1Point2F | point1 | The control point of the quadratic Bezier segment. |
D2D1Point2F | point2 | The end point of the quadratic Bezier segment. |
Properties
| Edit this page View SourcePoint1
Gets or sets the control point of the quadratic Bezier segment.
Declaration
public D2D1Point2F Point1 { get; set; }
Property Value
Type | Description |
---|---|
D2D1Point2F |
Point2
Gets or sets the end point of the quadratic Bezier segment.
Declaration
public D2D1Point2F Point2 { get; set; }
Property Value
Type | Description |
---|---|
D2D1Point2F |
Methods
| Edit this page View SourceEquals(D2D1QuadraticBezierSegment)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(D2D1QuadraticBezierSegment other)
Parameters
Type | Name | Description |
---|---|---|
D2D1QuadraticBezierSegment | 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 ==(D2D1QuadraticBezierSegment, D2D1QuadraticBezierSegment)
Compares two D2D1QuadraticBezierSegment objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(D2D1QuadraticBezierSegment left, D2D1QuadraticBezierSegment right)
Parameters
Type | Name | Description |
---|---|---|
D2D1QuadraticBezierSegment | left | The left D2D1QuadraticBezierSegment to compare. |
D2D1QuadraticBezierSegment | right | The right D2D1QuadraticBezierSegment to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(D2D1QuadraticBezierSegment, D2D1QuadraticBezierSegment)
Compares two D2D1QuadraticBezierSegment objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(D2D1QuadraticBezierSegment left, D2D1QuadraticBezierSegment right)
Parameters
Type | Name | Description |
---|---|---|
D2D1QuadraticBezierSegment | left | The left D2D1QuadraticBezierSegment to compare. |
D2D1QuadraticBezierSegment | right | The right D2D1QuadraticBezierSegment to compare. |
Returns
Type | Description |
---|---|
bool |