mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 10:01:08 +08:00
Binary file not shown.
@ -905,13 +905,13 @@ public class BorderDrawable extends ColorDrawable implements BitmapOwner {
|
||||
};
|
||||
outlineRectF.setEmpty();
|
||||
outlineRectF.set(getBounds());
|
||||
backgroundPath.addRoundRect(outlineRectF, backgroundRadii, Path.Direction.CW);
|
||||
outlineBackgroundPath.addRoundRect(outlineRectF, backgroundRadii, Path.Direction.CW);
|
||||
|
||||
if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
|
||||
// see setConvexPath notes
|
||||
outline.setPath(backgroundPath);
|
||||
outline.setPath(outlineBackgroundPath);
|
||||
} else {
|
||||
outline.setConvexPath(backgroundPath);
|
||||
outline.setConvexPath(outlineBackgroundPath);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user