@@ -42,6 +42,26 @@ public void size(double width, double height, StringVector renderer) {
4242 super .size ((int ) width , (int ) height , renderer .asString ());
4343 }
4444
45+ public void bezierDetail (double detail ) {
46+ super .bezierDetail ((int ) detail );
47+ }
48+
49+ public void colorMode (double mode ) {
50+ super .colorMode ((int ) mode );
51+ }
52+
53+ public void colorMode (double mode , float max ) {
54+ super .colorMode ((int ) mode , max );
55+ }
56+
57+ public void colorMode (double mode , float max1 , float max2 , float max3 ) {
58+ super .colorMode ((int ) mode , max1 , max2 , max3 );
59+ }
60+
61+ public void colorMode (double mode , float max1 , float max2 , float max3 , float maxA ) {
62+ super .colorMode ((int ) mode , max1 , max2 , max3 , maxA );
63+ }
64+
4565 public double frameCount () {
4666 return super .frameCount ;
4767 }
@@ -128,9 +148,9 @@ protected void wrapKeyVariables() {
128148 if (lastKey != key ) {
129149 lastKey = key ;
130150 /*
131- * If key is "CODED", i.e., an arrow key or other non-printable, pass that
132- * value through as-is. If it's printable, convert it to a unicode string,
133- * so that the user can compare key == 'x' instead of key == ord('x').
151+ * If key is "CODED", i.e., an arrow key or other non-printable, pass that value through
152+ * as-is. If it's printable, convert it to a unicode string, so that the user can compare key
153+ * == 'x' instead of key == ord('x').
134154 */
135155 final char pyKey = key == CODED ? parseChar (Integer .valueOf (key )) : parseChar (key );
136156 this .renjinEngine .put ("key" , pyKey );
0 commit comments