예제 #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;
 }
 void setParagraphStyle(ParagraphStyle style)
 {
     this._paragraphStyle        = style;
     this._paragraph_style_index = this._runs.addStyle(style.getTextStyle());
     this._runs.startRun(this._paragraph_style_index, this._text.Length);
 }
 public ParagraphBuilder(ParagraphStyle style)
 {
     this.setParagraphStyle(style);
 }
예제 #4
0
 public void setParagraphStyle(ParagraphStyle style)
 {
     this._needsLayout    = true;
     this._paragraphStyle = style;
 }