@@ -70,32 +70,6 @@ public void getCornerPath(
70
70
getCornerPath (angle , interpolation , shapePath );
71
71
}
72
72
73
- /**
74
- * Generates a {@link ShapePath} using start and end radius values for this corner treatment.
75
- *
76
- * <p>CornerTreatments are assumed to have an origin of (0, 0) (i.e. they represent the top-left
77
- * corner), and are automatically rotated and scaled as necessary when applied to other corners.
78
- *
79
- * @param shapePath the {@link ShapePath} that this treatment should write to.
80
- * @param angle the angle of the corner, typically 90 degrees.
81
- * @param interpolation the interpolation of the corner treatment. Ranges between 0 (none) and 1
82
- * (fully) interpolated. Custom corner treatments can implement interpolation to support shape
83
- * transition between two arbitrary states. Typically, a value of 0 indicates that the custom
84
- * corner treatment is not rendered (i.e. that it is a 90 degree angle), and a value of 1
85
- * indicates that the treatment is fully rendered. Animation between these two values can
86
- * "heal" or "reveal" a corner treatment.
87
- * @param startRadius the starting radius or size of this corner before interpolation.
88
- * @param endRadius the ending radius or size of this corner after interpolation.
89
- */
90
- public void getCornerPath (
91
- @ NonNull ShapePath shapePath ,
92
- float angle ,
93
- float interpolation ,
94
- float startRadius ,
95
- float endRadius ) {
96
- getCornerPath (shapePath , angle , interpolation , endRadius );
97
- }
98
-
99
73
/**
100
74
* Generates a {@link ShapePath} for this corner treatment.
101
75
*
@@ -123,40 +97,4 @@ public void getCornerPath(
123
97
@ NonNull CornerSize size ) {
124
98
getCornerPath (shapePath , angle , interpolation , size .getCornerSize (bounds ));
125
99
}
126
-
127
- /**
128
- * Generates a {@link ShapePath} using start and end {@link CornerSize} values for this corner
129
- * treatment.
130
- *
131
- * <p>CornerTreatments are assumed to have an origin of (0, 0) (i.e. they represent the top-left
132
- * corner), and are automatically rotated and scaled as necessary when applied to other corners.
133
- *
134
- * @param shapePath the {@link ShapePath} that this treatment should write to.
135
- * @param angle the angle of the corner, typically 90 degrees.
136
- * @param interpolation the interpolation of the corner treatment. Ranges between 0 (none) and 1
137
- * (fully) interpolated. Custom corner treatments can implement interpolation to support shape
138
- * transition between two arbitrary states. Typically, a value of 0 indicates that the custom
139
- * corner treatment is not rendered (i.e. that it is a 90 degree angle), and a value of 1
140
- * indicates that the treatment is fully rendered. Animation between these two values can
141
- * "heal" or "reveal" a corner treatment.
142
- * @param bounds the bounds of the full shape that will be drawn. This could be used change the
143
- * behavior of the CornerTreatment depending on how much space is available for the full
144
- * shape.
145
- * @param startSize the starting {@link CornerSize} used for this corner before interpolation
146
- * @param endSize the ending {@link CornerSize} used for this corner after interpolation
147
- */
148
- public void getCornerPath (
149
- @ NonNull ShapePath shapePath ,
150
- float angle ,
151
- float interpolation ,
152
- @ NonNull RectF bounds ,
153
- @ NonNull CornerSize startSize ,
154
- @ NonNull CornerSize endSize ) {
155
- getCornerPath (
156
- shapePath ,
157
- angle ,
158
- interpolation ,
159
- startSize .getCornerSize (bounds ),
160
- endSize .getCornerSize (bounds ));
161
- }
162
100
}
0 commit comments