Table of Contents

Method DrawEllipse

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.Core.dll

DrawEllipse(IDeviceContext, Point2Float, float, IDeviceBrush, float, IStrokeStyle?)

public static void DrawEllipse(this IDeviceContext deviceContext, Point2Float center, float radius, IDeviceBrush brush, float strokeWidth = 1, IStrokeStyle? strokeStyle = null)

Parameters

deviceContext IDeviceContext
center Point2Float
radius float
brush IDeviceBrush
strokeWidth float
strokeStyle IStrokeStyle

DrawEllipse(IDeviceContext, Point2Float, float, float, IDeviceBrush, float, IStrokeStyle?)

public static void DrawEllipse(this IDeviceContext deviceContext, Point2Float center, float radiusX, float radiusY, IDeviceBrush brush, float strokeWidth = 1, IStrokeStyle? strokeStyle = null)

Parameters

deviceContext IDeviceContext
center Point2Float
radiusX float
radiusY float
brush IDeviceBrush
strokeWidth float
strokeStyle IStrokeStyle

DrawEllipse(IDeviceContext, float, float, float, IDeviceBrush, float, IStrokeStyle?)

public static void DrawEllipse(this IDeviceContext deviceContext, float centerX, float centerY, float radius, IDeviceBrush brush, float strokeWidth = 1, IStrokeStyle? strokeStyle = null)

Parameters

deviceContext IDeviceContext
centerX float
centerY float
radius float
brush IDeviceBrush
strokeWidth float
strokeStyle IStrokeStyle

DrawEllipse(IDeviceContext, float, float, float, float, IDeviceBrush, float, IStrokeStyle?)

public static void DrawEllipse(this IDeviceContext deviceContext, float centerX, float centerY, float radiusX, float radiusY, IDeviceBrush brush, float strokeWidth = 1, IStrokeStyle? strokeStyle = null)

Parameters

deviceContext IDeviceContext
centerX float
centerY float
radiusX float
radiusY float
brush IDeviceBrush
strokeWidth float
strokeStyle IStrokeStyle

DrawEllipse(IDeviceContext, RectFloat, IDeviceBrush, float, IStrokeStyle?)

public static void DrawEllipse(this IDeviceContext deviceContext, RectFloat bounds, IDeviceBrush brush, float strokeWidth = 1, IStrokeStyle? strokeStyle = null)

Parameters

deviceContext IDeviceContext
bounds RectFloat
brush IDeviceBrush
strokeWidth float
strokeStyle IStrokeStyle