CircleShape

Namespace: Murder.Core.Geometry
Assembly: Murder.dll

public sealed struct CircleShape : IShape

Implements: IShape

⭐ Constructors

public CircleShape(float radius, Point offset)

Parameters
radius float
offset Point

⭐ Properties

Circle

public Circle Circle { get; }

Returns
Circle

Offset

public readonly Point Offset;

Returns
Point

Radius

public readonly float Radius;

Returns
float

⭐ Methods

GetPolygon()

public virtual PolygonShape GetPolygon()

Returns
PolygonShape

GetBoundingBox()

public virtual Rectangle GetBoundingBox()

Returns
Rectangle