예제 #1
0
        public TextElementContainer EndContainer()
        {
            TextElementContainer container = (TextElementContainer)ContainerStack.Pop();

            if (ContainerStack.Any())
            {
                ContainerStack.Peek().Add(container);
            }
            return(container);
        }
예제 #2
0
        public void StartContainer(float width, float height)
        {
            var container = new TextElementContainer(width, height);

            ContainerStack.Push(container);
        }