Struct D2D1ArcSegment
Describes an elliptical arc between two points.
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
public struct D2D1ArcSegment : IEquatable<D2D1ArcSegment>
Constructors
|
Edit this page
View Source
D2D1ArcSegment(D2D1Point2F, D2D1SizeF, float, D2D1SweepDirection, D2D1ArcSize)
Declaration
public D2D1ArcSegment(D2D1Point2F point, D2D1SizeF size, float rotationAngle, D2D1SweepDirection sweepDirection, D2D1ArcSize arcSize)
Parameters
| Type |
Name |
Description |
| D2D1Point2F |
point |
The end point of the arc.
|
| D2D1SizeF |
size |
The x-radius and y-radius of the arc.
|
| float |
rotationAngle |
A value that specifies how many degrees in the clockwise direction the ellipse is rotated relative to the current coordinate system.
|
| D2D1SweepDirection |
sweepDirection |
A value that specifies whether the arc sweep is clockwise or counterclockwise.
|
| D2D1ArcSize |
arcSize |
A value that specifies whether the given arc is larger than 180 degrees.
|
Properties
|
Edit this page
View Source
ArcSize
Gets or sets a value that specifies whether the given arc is larger than 180 degrees.
Declaration
public D2D1ArcSize ArcSize { get; set; }
Property Value
|
Edit this page
View Source
Point
Gets or sets the end point of the arc.
Declaration
public D2D1Point2F Point { get; set; }
Property Value
|
Edit this page
View Source
RotationAngle
Gets or sets a value that specifies how many degrees in the clockwise direction the ellipse is rotated relative to the current coordinate system.
Declaration
public float RotationAngle { get; set; }
Property Value
|
Edit this page
View Source
Size
Gets or sets the x-radius and y-radius of the arc.
Declaration
public D2D1SizeF Size { get; set; }
Property Value
|
Edit this page
View Source
SweepDirection
Gets or sets a value that specifies whether the arc sweep is clockwise or counterclockwise.
Declaration
public D2D1SweepDirection SweepDirection { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(D2D1ArcSegment)
Declaration
public readonly bool Equals(D2D1ArcSegment 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 D2D1ArcSegment NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<D2D1ArcSegment>)
Declaration
public static void NativeReadFrom(nint buffer, Span<D2D1ArcSegment> 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 D2D1ArcSegment)
Declaration
public static void NativeWriteTo(nint buffer, in D2D1ArcSegment obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<D2D1ArcSegment>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<D2D1ArcSegment> objects)
Parameters
Operators
|
Edit this page
View Source
operator ==(D2D1ArcSegment, D2D1ArcSegment)
Declaration
public static bool operator ==(D2D1ArcSegment left, D2D1ArcSegment right)
Parameters
Returns
|
Edit this page
View Source
operator !=(D2D1ArcSegment, D2D1ArcSegment)
Declaration
public static bool operator !=(D2D1ArcSegment left, D2D1ArcSegment right)
Parameters
Returns
Implements