您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
46 行
1.1 KiB
46 行
1.1 KiB
namespace Unity.UIWidgets.ui {
|
|
class PaintRecord {
|
|
public PaintRecord(TextStyle style, Offset offset, TextBlob _text,
|
|
FontMetrics metrics,
|
|
int line, float runWidth) {
|
|
this._style = style;
|
|
this._text = _text;
|
|
this._line = line;
|
|
this._runWidth = runWidth;
|
|
this._metrics = metrics;
|
|
this._offset = offset;
|
|
}
|
|
|
|
public TextBlob text {
|
|
get { return this._text; }
|
|
}
|
|
|
|
public TextStyle style {
|
|
get { return this._style; }
|
|
}
|
|
|
|
public int line {
|
|
get { return this._line; }
|
|
}
|
|
|
|
public float runWidth {
|
|
get { return this._runWidth; }
|
|
}
|
|
|
|
public Offset offset {
|
|
get { return this._offset; }
|
|
set { this._offset = value; }
|
|
}
|
|
|
|
public FontMetrics metrics {
|
|
get { return this._metrics; }
|
|
}
|
|
|
|
TextStyle _style;
|
|
TextBlob _text;
|
|
int _line;
|
|
float _runWidth;
|
|
Offset _offset;
|
|
FontMetrics _metrics;
|
|
}
|
|
}
|