logo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
use super::{BorderRadiusGeometry, BorderSide, EdgeInsetsGeometry, OutlinedBorder, ShapeBorder};

pub struct CircularNotchedRectangle {
    // The radii for each corner.
    pub border_radius: Box<dyn BorderRadiusGeometry>,

    // The widths of the sides of this border represented as an EdgeInsets.
    pub dimensions: Box<dyn EdgeInsetsGeometry>,

    // The border outline's color and weight.
    pub side: BorderSide,
}

impl CircularNotchedRectangle {
    // add(ShapeBorder other, {bool reversed = false}) → ShapeBorder?
    // Attempts to create a new object that represents the amalgamation of this border and the other border.
    // @protected, inherited
    // copyWith({BorderSide? side, BorderRadiusGeometry? borderRadius}) → CircularNotchedRectangle
    // Returns a copy of this CircularNotchedRectangle with the given fields replaced with the new values.
    // override
    // getInnerPath(Rect rect, {TextDirection? textDirection}) → Path
    // Create a Path that describes the inner edge of the border.
    // override
    // getOuterPath(Rect rect, {TextDirection? textDirection}) → Path
    // Create a Path that describes the outer edge of the border.
    // override
    // lerpFrom(ShapeBorder? a, double t) → ShapeBorder?
    // Linearly interpolates from another ShapeBorder (possibly of another class) to this.
    // override
    // lerpTo(ShapeBorder? b, double t) → ShapeBorder?
    // Linearly interpolates from this to another ShapeBorder (possibly of another class).
    // override
    // paint(Canvas canvas, Rect rect, {TextDirection? textDirection}) → void
    // Paints the border within the given Rect on the given Canvas.
    // override
    // scale(double t) → ShapeBorder
    // Creates a copy of this border, scaled by the factor t.
    // override
    // toString() → String
    // A string representation of this object.
    // override
}

impl OutlinedBorder for CircularNotchedRectangle {}

impl ShapeBorder for CircularNotchedRectangle {}