Пример #1
0
 public void clear()
 {
     this._needsLayout         = true;
     this._maxIntrinsicWidth   = default;
     this._minIntrinsicWidth   = default;
     this._alphabeticBaseline  = default;
     this._ideographicBaseline = default;
     this._lineCount           = default;
     this._paintRecordsCount   = default;
     this._codeUnitRunsCount   = default;
     this._lineRangeCount      = default;
     this._lineWidthCount      = default;
     this._didExceedMaxLines   = default;
     this._width            = default;
     this._text             = default;
     this._ellipsizedText   = default;
     this._ellipsizedLength = default;
     this._runs             = null;
     this._paragraphStyle   = null;
 }
Пример #2
0
 public StyledRuns(StyledRuns other)
 {
     this.styles = new List <TextStyle>(other.styles);
     this.runs   = new List <IndexedRun>(other.runs);
 }
Пример #3
0
 internal RunIterator(StyledRuns runs)
 {
     this._charIndex = 0;
     this._runIndex  = 0;
     this._runs      = runs;
 }
Пример #4
0
 internal void setText(string text, StyledRuns runs)
 {
     this._text        = text;
     this._runs        = runs;
     this._needsLayout = true;
 }