Revision 253e440f
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/helpers/FactorySticker.java | ||
---|---|---|
19 | 19 |
|
20 | 20 |
package org.distorted.objectlib.helpers; |
21 | 21 |
|
22 |
import static org.distorted.objectlib.main.TwistyObject.COLOR_INTERNAL;
|
|
22 |
import static org.distorted.objectlib.main.TwistyObject.COLOR_STROKE;
|
|
23 | 23 |
import static org.distorted.objectlib.main.TwistyObject.TEXTURE_HEIGHT; |
24 | 24 |
|
25 | 25 |
import android.graphics.Canvas; |
... | ... | |
268 | 268 |
canvas.clipRect(left,top,left+TEXTURE_HEIGHT,top+TEXTURE_HEIGHT); |
269 | 269 |
canvas.drawRect(left,top,left+TEXTURE_HEIGHT,top+TEXTURE_HEIGHT,paint); |
270 | 270 |
|
271 |
paint.setColor(COLOR_INTERNAL);
|
|
271 |
paint.setColor(COLOR_STROKE);
|
|
272 | 272 |
paint.setStyle(Paint.Style.STROKE); |
273 | 273 |
|
274 | 274 |
int length = vertices.length; |
Also available in: Unified diff
Configurable internal colors. This somehow screwed up the Container!