Verlet Intergration Soft Body
Loading...
Searching...
No Matches
VectorGraphics.PrimitiveBatch.Shape Class Referenceabstract

the base class for all shapes that can be drawn using the PrimitiveBatch. Each shape has a position, color and a filled property to determine if the shape should be filled or just an outline. More...

Inheritance diagram for VectorGraphics.PrimitiveBatch.Shape:
VectorGraphics.PrimitiveBatch.Arrow VectorGraphics.PrimitiveBatch.Circle VectorGraphics.PrimitiveBatch.Line VectorGraphics.PrimitiveBatch.Pixel VectorGraphics.PrimitiveBatch.Rectangle VectorGraphics.PrimitiveBatch.Triangle VectorGraphics.PrimitiveBatch.RoundedRectangle

Public Member Functions

 Shape (Vector2 position, Color color, bool filled=true)
void Draw (SpriteBatch spriteBatch, PrimitiveBatch primitiveBatch)

Public Attributes

Vector2 position
Color color
bool filled

Detailed Description

the base class for all shapes that can be drawn using the PrimitiveBatch. Each shape has a position, color and a filled property to determine if the shape should be filled or just an outline.


The documentation for this class was generated from the following file:
  • PhysicsCSAlevlProject/libs/MonoGame2DVectorGraphics/Vector.cs