Table of Contents

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 IDeviceContext
startPoint Point2Float
arc ArcSegment
brush IDeviceBrush
strokeWidth float
strokeStyle 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 IDeviceContext
startPoint Point2Float
endPoint Point2Float
size SizeFloat
rotationAngle float
sweepDirection SweepDirection
arcSize ArcSize
brush IDeviceBrush
strokeWidth float
strokeStyle IStrokeStyle