Files
osu-framework/osu.Framework.Tests/Visual/Containers/TestSceneFrontToBackTriangle.cs
Dean Herbert 75ed421f60 Automated pass
2023-06-24 00:42:48 +09:00

33 lines
923 B
C#

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osuTK;
using osuTK.Graphics;
namespace osu.Framework.Tests.Visual.Containers
{
public partial class TestSceneFrontToBackTriangle : FrameworkTestScene
{
public TestSceneFrontToBackTriangle()
{
Children = new Drawable[]
{
new Box
{
RelativeSizeAxes = Axes.Both,
Colour = Color4.LightPink
},
new Triangle
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Size = new Vector2(200),
Colour = Color4.Red
}
};
}
}
}