您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

58 行
1.2 KiB

using UIWidgets.ui.txt;
namespace UIWidgets.ui
{
public class PaintRecord
{
public PaintRecord(TextStyle style, Offset offset, TextBlob _text,
FontMetrics metrics,
int line, double runWidth)
{
this._style = style;
this._text = _text;
this._line = line;
this._runWidth = runWidth;
this._metrics = metrics;
this._offset = offset;
}
public TextBlob text
{
get { return _text; }
}
public TextStyle style
{
get { return _style; }
}
public int line
{
get { return _line; }
}
public double runWidth
{
get { return _runWidth; }
}
public Offset offset
{
get { return _offset; }
set { _offset = value; }
}
public FontMetrics metrics
{
get { return _metrics; }
}
private TextStyle _style;
private TextBlob _text;
private int _line;
private double _runWidth;
private Offset _offset;
private FontMetrics _metrics;
}
}