Namespace AstraEngine.Canvas2D
Classes
- Circle2D
Represents a Decagon (Circle) that can be drawn in 2D space
- ColorExtensions
Extension methods for converting Colors to Raylib.Color
- DrawText2d
Represents a Rectangle that can be drawn in 2D space
- Drawable
Represents a component that can be drawn to a screen. An Entity that is Drawable is required to have a Position2D component. During initialization, if no Position2D is found, a default position is attached.
- Pixel2D
Represents a Pixel that can be drawn in 2D space
- Position2D
Represents a location in 2D space
- RaylibCanvas2D
An implementation of the ICanvas2D that is compatible with Raylib-cs.
- Rectangle2D
Represents a Rectangle that can be drawn in 2D space
- Triangle2D
Represents a Rectangle that can be drawn in 2D space
- View
Represents a 2D view port that draws itself and all children each tick. Children components should not call BeginDrawing() or EndDrawing().
Structs
- Color
Represents an RGBA color