RectCoordLayout<T extends RectCoordinate> class
abstract
- Inheritance
-
- Object
- ViewGroup
- CoordinateLayout
- RectCoordLayout
- Implementers
Constructors
- RectCoordLayout(T 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 dynamic x, covariant dynamic y) → dynamic -
将给定的数据转换为对应的坐标点
inherited
-
detach(
) → void -
inherited
-
dispatchDraw(
Canvas canvas) → void -
inherited
-
drawChild(
dynamic child, Canvas canvas) → bool -
负责绘制单独的一个ChildView,同时负责Canvas的坐标的正确转换
如果在方法中调用了
invalidate则返回trueinherited -
getChildAt(
int index) → dynamic -
inherited
-
getGlobalAreaBounds(
) → Rect -
inherited
-
hasChildView(
dynamic view) → bool -
inherited
-
measure(
double parentWidth, double parentHeight) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onLayout(
double left, double top, double right, double bottom) → void -
inherited
-
onMeasure(
double parentWidth, double parentHeight) → Size -
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