DmUtils class abstract final

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Properties

random Random
final

Static Methods

generateParagraph({required DanmakuContentItem content, required double fontSize, required int fontWeight, String? fontFamily}) Paragraph
generateRandomString(int length) String
recordDanmakuImage({required Paragraph contentParagraph, required DanmakuContentItem content, required double fontSize, required int fontWeight, required double strokeWidth, required double devicePixelRatio, String? fontFamily}) Image
recordSpecialDanmakuImg({required SpecialDanmakuContentItem content, required int fontWeight, required double strokeWidth, required double devicePixelRatio, String? fontFamily}) Image
updateSelfSendPaint(double strokeWidth) → void

Constants

maxRasterizeSize → const double