// Copyright (c) 2007-2018 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osuTK.Graphics; namespace osu.Game.Screens.Edit.Compose.Components { /// /// Provides a border around the playfield. /// public class EditorPlayfieldBorder : CompositeDrawable { public EditorPlayfieldBorder() { RelativeSizeAxes = Axes.Both; Masking = true; BorderColour = Color4.White; BorderThickness = 2; InternalChild = new Box { RelativeSizeAxes = Axes.Both, Alpha = 0, AlwaysPresent = true }; } } }