RoundedCorner class

A circular fillet when p == n, including at non-right-angle vertices. Elliptical settings scale the two rays of the unit circular fillet.

Inheritance

Constructors

RoundedCorner({double radius = 0, CornerConverter converter = CornerConverter.base})
const
RoundedCorner.elliptical({double p = 0, double n = 0, CornerConverter converter = CornerConverter.base})
const
RoundedCorner.infinity({CornerConverter converter = CornerConverter.base})
const

Properties

converter → CornerConverter
final
geometry → AnyCornerGeometry
Required geometry implementation; custom corners select their provider here.
no setteroverride
hashCode → int
The hash code for this object.
no setteroverride
n → double
Next-ray radius for rounded/scoop corners; ray cut length for bevels.
finalinherited
p → double
Previous-ray radius for rounded/scoop corners; ray cut length for bevels.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({double? p, double? n, CornerConverter? converter}) → RoundedCorner
override
lerpTo(covariant RoundedCorner other, double t) → RoundedCorner
override
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 *(double factor) → AnyCorner
inherited
operator ==(Object other) → bool
The equality operator.
override