RBallViewUtil class

工具方法

Constructors

RBallViewUtil()

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

itemCount int
getter/setter pair
nameHalfSize double
getter/setter pair
pointHalfTop double
getter/setter pair
pointHalfWidth double
getter/setter pair

Static Methods

getNameFontsize(double z, {double? halfSize}) double
获取名字大小, 对应文字的尺寸为6,12
getPointOpacity(double z, [double halfOpacity = 0.5]) double
获取透明度, 对应点的透明度为0.5,1
getPointStrokeWidth(double z, {double? halfWidth}) double
获取点大小
getPointTopMargin(double z, {double? halfTop}) double
获取点和文字间距