Table of Contents

Class Extensions

Namespace
BSGameLib.Game.Extensions
Assembly
BSGameLib.Game.dll

Extension methods for the framework's types.

public static class Extensions
Inheritance
Extensions
Inherited Members

Methods

Scale(Rectangle, float)

Returns the rectangle with its position and size multiplied by scale, truncated to whole units.

public static Rectangle Scale(this Rectangle rectangle, float scale)

Parameters

rectangle Rectangle
scale float

Returns

Rectangle