1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:17:23 +08:00

Add parameter xmldoc to explain what a null rect does

This commit is contained in:
Dean Herbert 2022-03-03 14:38:20 +09:00
parent 29bf7d0bde
commit cb0d643f70

View File

@ -45,6 +45,8 @@ namespace osu.Game.Graphics.Containers
/// <summary>
/// Set a custom position and scale which overrides any user specification.
/// </summary>
/// <param name="rect">A rectangle with positional and sizing information for this container to conform to. <c>null</c> will clear the custom rect and revert to user settings.</param>
/// <param name="relativePosition">Whether the position portion of the provided rect is in relative coordinate space or not.</param>
public void SetCustomRect(RectangleF? rect, bool relativePosition = false)
{
customRect = rect;