osuframework DrawSizePreservingFillContainer code example
Example: osuframework DrawSizePreservingFillContainer
new DrawSizePreservingFillContainer
{
Child = box = new Box
{
Anchor = Anchor.TopLeft,
Origin = Anchor.TopLeft,
Colour = Color4.Orange,
Size = new Vector2(200),
}
};