|
|
|
|
|
|
namespace Unity.UIWidgets.ui { |
|
|
|
public struct TextBlob { |
|
|
|
|
|
|
|
this._positions = positions; |
|
|
|
this._positions = positions; |
|
|
|
var pos = this._positions[this.textOffset]; |
|
|
|
return Rect.fromLTWH(this._bounds.xMin + pos, this._bounds.yMin, this._bounds.width, this._bounds.height); |
|
|
|
var pos = this.getPosition(0); |
|
|
|
return Rect.fromLTWH(this._bounds.xMin + pos, this._bounds.yMin, |
|
|
|
this._bounds.width, this._bounds.height); |
|
|
|
var pos = this._positions[this.textOffset]; |
|
|
|
return Rect.fromLTWH(this._bounds.xMin + pos + offset.dx, this._bounds.yMin + offset.dy, this._bounds.width, this._bounds.height); |
|
|
|
var pos = this.getPosition(0); |
|
|
|
return Rect.fromLTWH(this._bounds.xMin + pos + offset.dx, this._bounds.yMin + offset.dy, |
|
|
|
this._bounds.width, this._bounds.height); |
|
|
|
} |
|
|
|
|
|
|
|
public float getPosition(int i) { |
|
|
|