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
misc stubbing for ctr2
This commit is contained in:
@@ -124,4 +124,48 @@ public class Paint {
|
||||
public /*native*/ float getFontMetrics(FontMetrics metrics) {return 0;}
|
||||
public /*native*/ int getFontMetricsInt(FontMetricsInt fmi) {return 0;}
|
||||
|
||||
public void setShadowLayer(float radius, float dx, float dy, int color) {}
|
||||
|
||||
public Xfermode setXfermode(Xfermode xfermode) {return xfermode;}
|
||||
|
||||
public enum Cap {
|
||||
/**
|
||||
* The stroke ends with the path, and does not project beyond it.
|
||||
*/
|
||||
BUTT (0),
|
||||
/**
|
||||
* The stroke projects out as a semicircle, with the center at the
|
||||
* end of the path.
|
||||
*/
|
||||
ROUND (1),
|
||||
/**
|
||||
* The stroke projects out as a square, with the center at the end
|
||||
* of the path.
|
||||
*/
|
||||
SQUARE (2);
|
||||
|
||||
|
||||
private Cap(int nativeInt) {}
|
||||
}
|
||||
|
||||
public enum Join {
|
||||
/**
|
||||
* The outer edges of a join meet at a sharp angle
|
||||
*/
|
||||
MITER (0),
|
||||
/**
|
||||
* The outer edges of a join meet in a circular arc.
|
||||
*/
|
||||
ROUND (1),
|
||||
/**
|
||||
* The outer edges of a join meet with a straight line
|
||||
*/
|
||||
BEVEL (2);
|
||||
|
||||
private Join(int nativeInt) {}
|
||||
}
|
||||
|
||||
public void setStrokeCap(Cap cap) {}
|
||||
|
||||
public void setStrokeJoin(Join join) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user