Method DrawArc
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.Framework.dll
DrawArc(IDeviceContext, Point2Float, in ArcSegment, IDeviceBrush, float, IStrokeStyle?)
public static void DrawArc(this IDeviceContext deviceContext, Point2Float startPoint, in ArcSegment arc, IDeviceBrush brush, float strokeWidth = 1, IStrokeStyle? strokeStyle = null)
Parameters
deviceContext
IDeviceContextstartPoint
Point2Floatarc
ArcSegmentbrush
IDeviceBrushstrokeWidth
floatstrokeStyle
IStrokeStyle
DrawArc(IDeviceContext, Point2Float, Point2Float, SizeFloat, float, SweepDirection, ArcSize, IDeviceBrush, float, IStrokeStyle?)
public static void DrawArc(this IDeviceContext deviceContext, Point2Float startPoint, Point2Float endPoint, SizeFloat size, float rotationAngle, SweepDirection sweepDirection, ArcSize arcSize, IDeviceBrush brush, float strokeWidth = 1, IStrokeStyle? strokeStyle = null)
Parameters
deviceContext
IDeviceContextstartPoint
Point2FloatendPoint
Point2Floatsize
SizeFloatrotationAngle
floatsweepDirection
SweepDirectionarcSize
ArcSizebrush
IDeviceBrushstrokeWidth
floatstrokeStyle
IStrokeStyle