Interface ISelectionRectangle
Used to render a selection rectangle on the UI.
Inherited Members
Namespace: Gorgon.Editor.Rendering
Assembly: Gorgon.Editor.API.dll
Syntax
public interface ISelectionRectangle : IDisposable
Properties
| Edit this page View SourceColor
Property to set or return the color for the selection rectangle.
Declaration
GorgonColor Color { get; set; }
Property Value
Type | Description |
---|---|
GorgonColor |
Speed
Property to set or return the speed of the overlay animation.
Declaration
Vector2 Speed { get; set; }
Property Value
Type | Description |
---|---|
Vector2 |
Methods
| Edit this page View SourceDraw(RectangleF)
Function to draw the selection region.
Declaration
void Draw(RectangleF region)
Parameters
Type | Name | Description |
---|---|---|
RectangleF | region | The region to draw. |