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
implement some APIs needed for OctoDroid
This commit is contained in:
@@ -209,6 +209,12 @@ public class Paint {
|
||||
private Join(int nativeInt) {}
|
||||
}
|
||||
|
||||
public enum Align {
|
||||
CENTER,
|
||||
LEFT,
|
||||
RIGHT,
|
||||
}
|
||||
|
||||
public void setStrokeCap(Cap cap) {}
|
||||
|
||||
public void setStrokeJoin(Join join) {}
|
||||
@@ -217,6 +223,12 @@ public class Paint {
|
||||
return new Typeface();
|
||||
}
|
||||
|
||||
public void setTextAlign(Align align) {}
|
||||
|
||||
public Shader getShader() {
|
||||
return new Shader();
|
||||
}
|
||||
|
||||
private native long native_constructor();
|
||||
private native void native_set_color(long skia_paint, int color);
|
||||
private native int native_get_color(long skia_paint);
|
||||
|
||||
Reference in New Issue
Block a user