Interface IOffsettable<T>
Definition
Namespace: StardewUI.Layout
Assembly: StardewUI.dll
Provides a method to clone the current instance with an offset applied.
Type Parameters
T
The output type; should be the same as the implementing class.
Members
Methods
Name | Description |
---|---|
Offset(Vector2) | Creates a clone of this instance with an offset applied to its position. |
Details
Methods
Offset(Vector2)
Creates a clone of this instance with an offset applied to its position.
Parameters
distance
Vector2
The offset distance.
Returns
T