Table of Contents

Method DrawRoundedRectangle

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

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

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

Parameters

deviceContext IDeviceContext
rect RectFloat
radius float
brush IDeviceBrush
strokeWidth float
strokeStyle IStrokeStyle

DrawRoundedRectangle(IDeviceContext, Point2Float, SizeFloat, float, IDeviceBrush, float, IStrokeStyle?)

public static void DrawRoundedRectangle(this IDeviceContext deviceContext, Point2Float location, SizeFloat size, float radius, IDeviceBrush brush, float strokeWidth = 1, IStrokeStyle? strokeStyle = null)

Parameters

deviceContext IDeviceContext
location Point2Float
size SizeFloat
radius float
brush IDeviceBrush
strokeWidth float
strokeStyle IStrokeStyle

DrawRoundedRectangle(IDeviceContext, float, float, SizeFloat, float, IDeviceBrush, float, IStrokeStyle?)

public static void DrawRoundedRectangle(this IDeviceContext deviceContext, float x, float y, SizeFloat size, float radius, IDeviceBrush brush, float strokeWidth = 1, IStrokeStyle? strokeStyle = null)

Parameters

deviceContext IDeviceContext
x float
y float
size SizeFloat
radius float
brush IDeviceBrush
strokeWidth float
strokeStyle IStrokeStyle

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

public static void DrawRoundedRectangle(this IDeviceContext deviceContext, Point2Float location, float width, float height, float radius, IDeviceBrush brush, float strokeWidth = 1, IStrokeStyle? strokeStyle = null)

Parameters

deviceContext IDeviceContext
location Point2Float
width float
height float
radius float
brush IDeviceBrush
strokeWidth float
strokeStyle IStrokeStyle

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

public static void DrawRoundedRectangle(this IDeviceContext deviceContext, float x, float y, float width, float height, float radius, IDeviceBrush brush, float strokeWidth = 1, IStrokeStyle? strokeStyle = null)

Parameters

deviceContext IDeviceContext
x float
y float
width float
height float
radius float
brush IDeviceBrush
strokeWidth float
strokeStyle IStrokeStyle

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

public static void DrawRoundedRectangle(this IDeviceContext deviceContext, RectFloat rect, float radiusX, float radiusY, IDeviceBrush brush, float strokeWidth = 1, IStrokeStyle? strokeStyle = null)

Parameters

deviceContext IDeviceContext
rect RectFloat
radiusX float
radiusY float
brush IDeviceBrush
strokeWidth float
strokeStyle IStrokeStyle

DrawRoundedRectangle(IDeviceContext, Point2Float, SizeFloat, float, float, IDeviceBrush, float, IStrokeStyle?)

public static void DrawRoundedRectangle(this IDeviceContext deviceContext, Point2Float location, SizeFloat size, float radiusX, float radiusY, IDeviceBrush brush, float strokeWidth = 1, IStrokeStyle? strokeStyle = null)

Parameters

deviceContext IDeviceContext
location Point2Float
size SizeFloat
radiusX float
radiusY float
brush IDeviceBrush
strokeWidth float
strokeStyle IStrokeStyle

DrawRoundedRectangle(IDeviceContext, float, float, SizeFloat, float, float, IDeviceBrush, float, IStrokeStyle?)

public static void DrawRoundedRectangle(this IDeviceContext deviceContext, float x, float y, SizeFloat size, float radiusX, float radiusY, IDeviceBrush brush, float strokeWidth = 1, IStrokeStyle? strokeStyle = null)

Parameters

deviceContext IDeviceContext
x float
y float
size SizeFloat
radiusX float
radiusY float
brush IDeviceBrush
strokeWidth float
strokeStyle IStrokeStyle

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

public static void DrawRoundedRectangle(this IDeviceContext deviceContext, Point2Float location, float width, float height, float radiusX, float radiusY, IDeviceBrush brush, float strokeWidth = 1, IStrokeStyle? strokeStyle = null)

Parameters

deviceContext IDeviceContext
location Point2Float
width float
height float
radiusX float
radiusY float
brush IDeviceBrush
strokeWidth float
strokeStyle IStrokeStyle

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

public static void DrawRoundedRectangle(this IDeviceContext deviceContext, float x, float y, float width, float height, float radiusX, float radiusY, IDeviceBrush brush, float strokeWidth = 1, IStrokeStyle? strokeStyle = null)

Parameters

deviceContext IDeviceContext
x float
y float
width float
height float
radiusX float
radiusY float
brush IDeviceBrush
strokeWidth float
strokeStyle IStrokeStyle