PolygonTools Class |
Namespace: Internal.tainicom.Aether.Physics2D.Common
public static class PolygonTools
The PolygonTools type exposes the following members.
| Name | Description | |
|---|---|---|
| CreateArc | ||
| CreateCapsule(Single, Single, Int32) |
Creates an capsule with the specified height, radius and number of edges.
A capsule has the same form as a pill capsule.
| |
| CreateCapsule(Single, Single, Int32, Single, Int32) |
Creates an capsule with the specified height, radius and number of edges.
A capsule has the same form as a pill capsule.
| |
| CreateCircle |
Creates a circle with the specified radius and number of edges.
| |
| CreateEllipse |
Creates a ellipse with the specified width, height and number of edges.
| |
| CreateGear |
Creates a gear shape with the specified radius and number of teeth.
| |
| CreateLine |
Set this as a single edge.
| |
| CreateRectangle(Single, Single) |
Build vertices to represent an axis-aligned box.
| |
| CreateRectangle(Single, Single, Vector2, Single) |
Build vertices to represent an oriented box.
| |
| CreateRoundedRectangle |
Creates a rounded rectangle with the specified width and height.
|