Revision c5338d5e
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/objects/FactorySticker.java | ||
---|---|---|
133 | 133 |
|
134 | 134 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
135 | 135 |
|
136 |
void drawRoundedPolygon(Canvas canvas, Paint paint, int left, int top, float[] vertices, float stroke, int color, float r) |
|
136 |
void drawRoundedPolygon(Canvas canvas, Paint paint, int left, int top, float[] vertices, float stroke, int color, float radius)
|
|
137 | 137 |
{ |
138 | 138 |
stroke *= TEXTURE_HEIGHT; |
139 | 139 |
|
... | ... | |
159 | 159 |
|
160 | 160 |
for(int vert=0; vert<numVertices; vert++) |
161 | 161 |
{ |
162 |
drawCurrVertex(canvas, paint, left, top, r, stroke, prevX,prevY,currX,currY,nextX,nextY); |
|
162 |
drawCurrVertex(canvas, paint, left, top, radius, stroke, prevX,prevY,currX,currY,nextX,nextY);
|
|
163 | 163 |
|
164 | 164 |
prevX = currX; |
165 | 165 |
prevY = currY; |
Also available in: Unified diff
Face cubit creation: progress: rounded corners