Class MarchingAnts
Draws a marching ants effect for a rectangle.
Inherited Members
Namespace: Gorgon.Editor.Rendering
Assembly: Gorgon.Editor.API.dll
Syntax
public class MarchingAnts : IMarchingAnts, IDisposable
Constructors
| Edit this page View SourceMarchingAnts(Gorgon2D)
Initializes a new instance of the MarchingAnts class.
Declaration
public MarchingAnts(Gorgon2D renderer)
Parameters
Type | Name | Description |
---|---|---|
Gorgon2D | renderer | The 2D renderer for the application. |
Methods
| Edit this page View SourceAnimate()
Function to animate the marching ants.
Declaration
public void Animate()
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Draw(RectangleF)
Function to draw the marching ants rectangle.
Declaration
public void Draw(RectangleF rect)
Parameters
Type | Name | Description |
---|---|---|
RectangleF | rect | The rectangular region to draw in. |