Пример #1
0
        public ILabel CreateLabel(IFont font, Point position, string text)
        {
            var result = new SDL2Label(font, renderer)
            {
                Text     = text,
                Location = position
            };

            return(result);
        }
Пример #2
0
        public ILabel CreateLabel(IFont font)
        {
            var result = new SDL2Label(font, renderer);

            return(result);
        }