Table of Contents

Method FromCenter

Namespace
PaintDotNet.Rendering
Assembly
PaintDotNet.Primitives.dll

FromCenter(Point2Double, SizeDouble)

public static RectDouble FromCenter(Point2Double center, SizeDouble size)

Parameters

center Point2Double
size SizeDouble

Returns

RectDouble

FromCenter(Point2Double, double)

public static RectDouble FromCenter(Point2Double center, double edgeLength)

Parameters

center Point2Double
edgeLength double

Returns

RectDouble

FromCenter(Point2Double, double, double)

public static RectDouble FromCenter(Point2Double center, double width, double height)

Parameters

center Point2Double
width double
height double

Returns

RectDouble

FromCenter(double, double, double)

public static RectDouble FromCenter(double centerX, double centerY, double edgeLength)

Parameters

centerX double
centerY double
edgeLength double

Returns

RectDouble

FromCenter(double, double, double, double)

public static RectDouble FromCenter(double centerX, double centerY, double width, double height)

Parameters

centerX double
centerY double
width double
height double

Returns

RectDouble