DFCircle class
圆形
Constructors
- DFCircle(DFPosition center, double radius)
- 创建圆形
Properties
- center → DFPosition
-
中心坐标
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- radius → double
-
半径
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
circleToCircle(
DFCircle other) → bool - 圆形与圆形重叠
-
circleToRect(
DFRect other) → bool - 圆形和矩形重叠
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
overlaps(
DFShape other) → bool -
是否重叠
override
-
toRect(
) → DFRect - 转换为Rect
-
toString(
) → String -
转换字符串
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited