examples/graphics/linesExample/README.md
This Example demonstrates various methods of working with lines by using polylines, meshes and draw functions.
This example covers the following functions:
ofSetLineWidth(lineWidth) and path.setStrokeWidth().mesh.addVertex(), mesh.addTexCoord() and mesh.addColor().In the code, pay attention to:
ofSetLineWidth(lineWidth) and testRectPath.setStrokeWidth(2.);.OF_PRIMITIVE_LINE_STRIP and OF_PRIMITIVE_LINE_LOOPofNoFill() and ofDrawCircle().ofPushStyle() and ofPopStyle()ofDrawBitmapString().When launching this app, you should see a screen with
- or + to decrease / increase the line width.c to toggle colors on the wiggly line.t to toggle textures on the wiggly line.This Example uses no other classes.