You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
add bunch of new java APIs: mostly stubs or copied from AOSP
Many of these classes are only needed to be subclassed by androidx support library, which is used in many android apps
This commit is contained in:
@@ -3,6 +3,18 @@ package android.graphics;
|
||||
public class Paint {
|
||||
private int color = 0xFF000000;
|
||||
|
||||
public Paint() {
|
||||
}
|
||||
|
||||
public Paint (int flags) {
|
||||
this();
|
||||
setFlags(flags);
|
||||
}
|
||||
|
||||
public Paint(Paint paint) {
|
||||
setColor(paint.getColor());
|
||||
}
|
||||
|
||||
public void setColor(int color) {
|
||||
this.color = color;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user