Beispiel #1
0
            public InlineSequence([NotNull] InlineContainer container)
            {
                var initSegment = InlineSegment.CreateFromColors(container.EffectiveColor, container.EffectiveBackground);

                _formattingStack.Push(initSegment);
                Segments = new List <InlineSegment>();
                AddFormattingSegment();
            }
Beispiel #2
0
 public LineWrapper(InlineContainer container, Size availableSize)
 {
     _container     = container;
     _availableSize = availableSize;
     _wrapPos       = -1;
 }