DFCircle class Null safety

圆形

Inheritance

Constructors

DFCircle(DFPosition center, double radius)
创建圆形

Properties

center DFPosition
中心坐标
final
hashCode int
The hash code for this object. [...]
read-only, inherited
radius double
半径
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

circleToCircle(DFCircle other) bool
圆形与圆形重叠
circleToRect(DFRect other) bool
圆形和矩形重叠
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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