Back to project page TileView.
The source code is released under:
MIT License
If you think the Android project TileView listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.qozix.tileview.paths; //from w w w . ja v a2 s . com import android.annotation.SuppressLint; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Path; public class DrawablePath { /** * The path that this drawable will follow. */ public Path path; /** * The paint to be used for this path. */ public Paint paint; /** * Draw the supplied path onto the supplied canvas. * * @param canvas * @param drawingPath */ @SuppressLint("NewApi") public void draw( Canvas canvas, Path drawingPath ) { canvas.drawPath( drawingPath, paint ); } }