ParallelLayout class
平行坐标系
- Inheritance
-
- Object
- ViewGroup
- CoordinateLayout
- RectCoordLayout<
Parallel> - ParallelLayout
Constructors
- ParallelLayout(Parallel props)
Properties
Methods
-
addView(
dynamic view, {int index = -1}) → void -
========================管理子View相关方法=======================
inherited
-
attach(
Context context, ViewParent parent) → void -
inherited
-
changeChildToFront(
dynamic child) → void -
inherited
-
clearChildFocus(
dynamic child) → void -
inherited
-
clearChildren(
) → void -
inherited
-
dataToPoint(
covariant int dimIndex, covariant DynamicData data) → Offset? -
将给定的数据转换为对应的坐标点
override
-
detach(
) → void -
inherited
-
dispatchDraw(
Canvas canvas) → void -
inherited
-
drawChild(
dynamic child, Canvas canvas) → bool -
负责绘制单独的一个ChildView,同时负责Canvas的坐标的正确转换
如果在方法中调用了
invalidate
则返回trueinherited -
findClickAxis(
Offset offset) → BaseAxisImpl< BaseAxis, dynamic> ? - 找到当前点击的
-
findMinDistanceAxis(
Offset offset) → ParallelAxisImpl? - 找到离点击点最近的轴
-
getChildAt(
int index) → dynamic -
inherited
-
getGlobalAreaBounds(
) → Rect -
inherited
-
hasChildView(
dynamic view) → bool -
inherited
-
isFirstAxis(
BaseAxisImpl< BaseAxis, dynamic> node) → bool -
isLastAxis(
BaseAxisImpl< BaseAxis, dynamic> node) → bool -
measure(
double parentWidth, double parentHeight) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDraw(
Canvas canvas) → void -
onLayout(
double left, double top, double right, double bottom) → void -
override
-
onMeasure(
double parentWidth, double parentHeight) → Size -
inherited
-
parentInvalidate(
) → void -
inherited
-
removeView(
dynamic view) → void -
inherited
-
requestLayout(
) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited