BrnPointsLine class

每条线的定义

Constructors

BrnPointsLine({double lineWidth = 2, double pointRadius = 0, Color? pointColor, double? pointInnerRadius, Color? pointInnerColor, bool isCurve = false, required List<BrnPointData> points, bool isShowPoint = true, bool isShowPointText = false, List<Color>? shaderColors, Color lineColor = Colors.purple})

Properties

hashCode int
The hash code for this object.
no setterinherited
isCurve bool
标记是否为曲线
getter/setter pair
isShowPoint bool
是否绘制折线节点。
getter/setter pair
isShowPointText bool
是否展示节点的文本
getter/setter pair
lineColor Color
曲线或折线的颜色
getter/setter pair
lineWidth double
线宽
getter/setter pair
pointColor Color?
点外圈的颜色
getter/setter pair
pointInnerColor Color?
点内圈的颜色
getter/setter pair
pointInnerRadius double?
点内圈的半径
getter/setter pair
pointRadius double
点的外半径参数
getter/setter pair
points List<BrnPointData>
点集合
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shaderColors List<Color>?
Line渐变色,从曲线到x轴从上到下的闭合颜色集
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