 | RectangleISpan Method |
Calculates the rectangle which spans the specified positions.
Namespace: Slash.Math.Geometry.RectanglesAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static RectangleI Span(
IEnumerable<Vector2I> positions
)
Public Shared Function Span (
positions As IEnumerable(Of Vector2I)
) As RectangleI
public:
static RectangleI^ Span(
IEnumerable<Vector2I>^ positions
)
static member Span :
positions : IEnumerable<Vector2I> -> RectangleI
Parameters
- positions
- Type: System.Collections.GenericIEnumerableVector2I
Positions to span a rectangle around.
Return Value
Type:
RectangleIRectangle which spans the specified positions.
See Also