Project

General

Profile

« Previous | Next » 

Revision 9ce78850

Added by Leszek Koltunski almost 3 years ago

Generalize FactorySticker - make it possible to draw stickers whose sides are curved.
Convert the Ivy to use this new functionality.

View differences:

src/main/java/org/distorted/objects/TwistySquare2.java
244 244
      }
245 245

  
246 246
    FactorySticker factory = FactorySticker.getInstance();
247
    factory.drawRoundedPolygon(canvas, paint, left, top, STICKERS[stickerType], S, FACE_COLORS[face%COLORS], R);
247
    factory.drawRoundedPolygon(canvas, paint, left, top, STICKERS[stickerType], null, S, FACE_COLORS[face%COLORS], R);
248 248
    }
249 249

  
250 250
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff