Пример #1
0
        public Rectangle GetRectangle(IReadOnlyEditorLaneEnvironment env)
        {
            var loc    = PositionConverter.ConvertVirtualToRealNorm(env, new Position(Lane, Timing));
            int width  = NoteEnvironment.NoteWidth(NoteSize.Size, env);
            int height = NoteEnvironment.NoteHeight;

            return(new Rectangle(loc.X, loc.Y - NoteEnvironment.NoteHeight / 2, width, height));
        }