Radius class

A radius for either circular or elliptical shapes.

Constructors

Radius.circular(double radius)
Constructs a circular radius. x and y will have the same radius value.
const
Radius.elliptical(double x, double y)
Constructs an elliptical radius with the given radii.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
The radius value on the horizontal axis.
final
y double
The radius value on the vertical axis.
final

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

Constants

zero → const Radius
A radius with x and y values set to zero.