Namespace SimulationFramework.Drawing
Classes
- CanvasState
Provides access to state-specific data of an ICanvas.
- Gradient
Represents a gradient.
- Graphics
Provides graphical functionality to the application.
- LinearGradient
Represents a linear gradient.
- RadialGradient
Represents a radial gradient.
Structs
Interfaces
- ICanvas
Enables the rendering shapes to a texture.
- IFont
Represents a font. Fonts can be loaded using LoadFont(string).
- IGraphicsProvider
Interface which provides graphics functionality as a component of a simulation.
- ITexture
A 2D bitmap used for rendering. Textures can be created using CreateTexture(int, int, TextureOptions) or loaded using LoadTexture(string, TextureOptions).
Enums
- FontStyle
Options for drawing text. Multiple values can be combined using the "
|
" (bitwise or) operator.
- TextBounds
Determines how the bounding box of text is calculated when rendering.
- TextureOptions
Provides control over the functionality of a texture. Used by CreateTexture(int, int, TextureOptions).
- TileMode
Options to control the behavior of gradients when drawn outside their bounds.