Table of Contents

Method FillRectangle

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

FillRectangle(IDeviceContext, Point2Float, SizeFloat, IDeviceBrush)

public static void FillRectangle(this IDeviceContext deviceContext, Point2Float location, SizeFloat size, IDeviceBrush brush)

Parameters

deviceContext IDeviceContext
location Point2Float
size SizeFloat
brush IDeviceBrush

FillRectangle(IDeviceContext, float, float, SizeFloat, IDeviceBrush)

public static void FillRectangle(this IDeviceContext deviceContext, float x, float y, SizeFloat size, IDeviceBrush brush)

Parameters

deviceContext IDeviceContext
x float
y float
size SizeFloat
brush IDeviceBrush

FillRectangle(IDeviceContext, Point2Float, float, float, IDeviceBrush)

public static void FillRectangle(this IDeviceContext deviceContext, Point2Float location, float width, float height, IDeviceBrush brush)

Parameters

deviceContext IDeviceContext
location Point2Float
width float
height float
brush IDeviceBrush

FillRectangle(IDeviceContext, float, float, float, float, IDeviceBrush)

public static void FillRectangle(this IDeviceContext deviceContext, float x, float y, float width, float height, IDeviceBrush brush)

Parameters

deviceContext IDeviceContext
x float
y float
width float
height float
brush IDeviceBrush