All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.qozix.tileview.paths.DrawablePath Maven / Gradle / Ivy

Go to download

The TileView widget is a subclass of ViewGroup that provides a mechanism to asynchronously display tile-based images, with additional functionality for 2D dragging, flinging, pinch or double-tap to zoom, adding overlaying Views (markers), built-in Hot Spot support, dynamic path drawing, multiple levels of detail, and support for any relative positioning or coordinate system.

The newest version!
package com.qozix.tileview.paths;

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 );
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy