Method FromCenter
- Namespace
- PaintDotNet.Rendering
- Assembly
- PaintDotNet.Primitives.dll
FromCenter(Point2Float, SizeFloat)
public static RectFloat FromCenter(Point2Float center, SizeFloat size)
Parameters
center
Point2Float
size
SizeFloat
Returns
- RectFloat
FromCenter(Point2Float, float)
public static RectFloat FromCenter(Point2Float center, float edgeLength)
Parameters
center
Point2Float
edgeLength
float
Returns
- RectFloat
FromCenter(Point2Float, float, float)
public static RectFloat FromCenter(Point2Float center, float width, float height)
Parameters
center
Point2Float
width
float
height
float
Returns
- RectFloat
FromCenter(float, float, float)
public static RectFloat FromCenter(float centerX, float centerY, float edgeLength)
Parameters
centerX
float
centerY
float
edgeLength
float
Returns
- RectFloat
FromCenter(float, float, float, float)
public static RectFloat FromCenter(float centerX, float centerY, float width, float height)
Parameters
centerX
float
centerY
float
width
float
height
float
Returns
- RectFloat