Struct D2D1BezierSegment
Represents a cubic bezier segment drawn between two points.
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
public struct D2D1BezierSegment : IEquatable<D2D1BezierSegment>
Constructors
|
Edit this page
View Source
D2D1BezierSegment(D2D1Point2F, D2D1Point2F, D2D1Point2F)
Declaration
public D2D1BezierSegment(D2D1Point2F point1, D2D1Point2F point2, D2D1Point2F point3)
Parameters
| Type |
Name |
Description |
| D2D1Point2F |
point1 |
The first control point for the Bezier segment.
|
| D2D1Point2F |
point2 |
The second control point for the Bezier segment.
|
| D2D1Point2F |
point3 |
The end point for the Bezier segment.
|
Properties
|
Edit this page
View Source
Point1
Gets or sets the first control point for the Bezier segment.
Declaration
public D2D1Point2F Point1 { get; set; }
Property Value
|
Edit this page
View Source
Point2
Gets or sets the second control point for the Bezier segment.
Declaration
public D2D1Point2F Point2 { get; set; }
Property Value
|
Edit this page
View Source
Point3
Gets or sets the end point for the Bezier segment.
Declaration
public D2D1Point2F Point3 { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(D2D1BezierSegment)
Declaration
public readonly bool Equals(D2D1BezierSegment 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 D2D1BezierSegment NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<D2D1BezierSegment>)
Declaration
public static void NativeReadFrom(nint buffer, Span<D2D1BezierSegment> 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 D2D1BezierSegment)
Declaration
public static void NativeWriteTo(nint buffer, in D2D1BezierSegment obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<D2D1BezierSegment>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<D2D1BezierSegment> objects)
Parameters
Operators
|
Edit this page
View Source
operator ==(D2D1BezierSegment, D2D1BezierSegment)
Declaration
public static bool operator ==(D2D1BezierSegment left, D2D1BezierSegment right)
Parameters
Returns
|
Edit this page
View Source
operator !=(D2D1BezierSegment, D2D1BezierSegment)
Declaration
public static bool operator !=(D2D1BezierSegment left, D2D1BezierSegment right)
Parameters
Returns
Implements