1- PStyle {
2- public boolean smooth;
3-
4- public int imageMode
5- public int rectMode;
6- public int ellipseMode;
7- public int shapeMode;
8-
9- public int colorMode;
10- public float colorModeX;
11- public float colorModeY;
12- public float colorModeZ;
13- public float colorModeA;
14-
15- public boolean tint;
16- public int tintColor;
17- public boolean fill;
18- public int fillColor;
19- public boolean stroke;
20- public int strokeColor;
21- public float strokeWeight;
22- public int strokeCap;
23- public int strokeJoin;
24-
25- public float ambientR, ambientG, ambientB
26- public float specularR, specularG, specularB;
27- public float emissiveR, emissiveG, emissiveB;
28- public float shininess;
29-
30- public PFont textFont;
31- public int textAlign;
32- public int textAlignY;
33- public int textMode;
34- public float textSize;
35- public float textLeading;
36- }
37-
38-
391remove textFontNative and textFontNativeMetrics carp
40- accessors inside PFont need a *lot* of work
2+ accessors inside PFont need a lot of work
3+
4+ //
415
426setMainDrawingSurface() -> setPrimarySurface()
437mainDrawingSurface = primarySurface;
@@ -52,6 +16,7 @@ depth_sort_lines -> sortLines()
5216no longer any abstract methods in PGraphics itself
5317removed support for specular alpha (and its 'SPA' constant)
5418clear() -> backgroundImpl()
19+ CENTER -> DIAMETER for ellipseMode and friends
5520
5621//
5722
@@ -89,9 +54,11 @@ style(PStyle s)
8954 public void vertex(float x, float y, float u, float v)
9055 public void vertex(float x, float y, float z, float u, float v)
9156 public void bezierVertex(float x2, float y2,
92- public void bezierVertex(float x2, float y2, float z2,
9357 float x3, float y3,
9458 float x4, float y4)
59+ public void bezierVertex(float x2, float y2, float z2,
60+ float x3, float y3, float z3,
61+ float x4, float y4, float z4)
9562 public void curveVertex(float x, float y)
9663 public void curveVertex(float x, float y, float z)
9764 public void breakShape()
0 commit comments