misc stubbing for ctr2

This commit is contained in:
Mis012
2023-01-14 14:32:37 +01:00
parent f8beaa4a7d
commit 27f3d288dd
16 changed files with 184 additions and 0 deletions

View File

@@ -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) {}
}