DanmakuItem class

Constructors

DanmakuItem({required DanmakuContentItem content, required int creationTime, required double height, required double width, double xPosition = 0, double yPosition = 0, Paragraph? paragraph, Paragraph? strokeParagraph, int? lastDrawTick})

Properties

content DanmakuContentItem
弹幕内容
final
creationTime int
弹幕创建时间
final
hashCode int
The hash code for this object.
no setterinherited
height double
弹幕高度
final
lastDrawTick int?
上次绘制时间
getter/setter pair
paragraph Paragraph?
弹幕布局缓存
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strokeParagraph Paragraph?
getter/setter pair
width double
弹幕宽度
final
xPosition double
弹幕水平方向位置
getter/setter pair
yPosition double
弹幕竖直方向位置
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited