Table of Contents

Class RectangleBody

Namespace
Fantas.Physics
Assembly
Fantas.dll

Rectangle body

public sealed class RectangleBody : PhysicsBody
Inheritance
RectangleBody
Inherited Members

Constructors

RectangleBody(SizeF)

Creates a rectangular physical body with the given size

public RectangleBody(SizeF size)

Parameters

size SizeF

RectangleBody(SizeF, PointF)

Creates a rectangular physical body with the given size and the given center

public RectangleBody(SizeF size, PointF center)

Parameters

size SizeF
center PointF