ConvexNotchedRectangle class
A convex shape which implemented NotchedShape.
It's used to draw a convex shape for ConvexAppBar, If you are interested about the math calculation, please refer to CircularNotchedRectangle, it's based on Bezier curve;
See also:
- CircularNotchedRectangle, a rectangle with a smooth circular notch.
- Inheritance
-
- Object
- NotchedShape
- ConvexNotchedRectangle
Constructors
- ConvexNotchedRectangle.new({double radius = 0})
-
Create Shape instance
const
Properties
Methods
-
getOuterPath(
Rect host, Rect? guest) → Path -
Creates a Path that describes the outline of the shape.
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 ==(
Object other) → bool -
The equality operator.
inherited