Gorgon
Show / Hide Table of Contents

Interface ISelectionRectangle

Used to render a selection rectangle on the UI.

Inherited Members
IDisposable.Dispose()
Namespace: Gorgon.Editor.Rendering
Assembly: Gorgon.Editor.API.dll
Syntax
public interface ISelectionRectangle : IDisposable

Properties

| Edit this page View Source

Color

Property to set or return the color for the selection rectangle.

Declaration
GorgonColor Color { get; set; }
Property Value
Type Description
GorgonColor
| Edit this page View Source

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 Source

Draw(RectangleF)

Function to draw the selection region.

Declaration
void Draw(RectangleF region)
Parameters
Type Name Description
RectangleF region

The region to draw.

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author