RBallViewUtil class
将屏幕平面作为三维空间的X和Y轴,和屏幕垂直的轴假象为Z轴,根据Z坐标通过标签的大小和透明度来制造距离感: 工具方法
Constructors
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 - 获取点和文字间距