/**@class android.graphics.PathMeasure
@extends java.lang.Object

*/
var PathMeasure = {

/***/
POSITION_MATRIX_FLAG : "1",
/***/
TANGENT_MATRIX_FLAG : "2",
/**Assign a new path, or null to have none.
*/
setPath : function(  ) {},

/**Return the total length of the current contour, or 0 if no path is
 associated with this measure object.
*/
getLength : function(  ) {},

/**Pins distance to 0 <= distance <= getLength(), and then computes the
 corresponding position and tangent. Returns false if there is no path,
 or a zero-length path was specified, in which case position and tangent
 are unchanged.
@param {Number} distance The distance along the current contour to sample
@param {Object {float[]}} pos If not null, returns the sampled position (x==[0], y==[1])
@param {Object {float[]}} tan If not null, returns the sampled tangent (x==[0], y==[1])
@return {Boolean} false if there was no path associated with this measure object
*/
getPosTan : function(  ) {},

/**Pins distance to 0 <= distance <= getLength(), and then computes the
 corresponding matrix. Returns false if there is no path, or a zero-length
 path was specified, in which case matrix is unchanged.
@param {Number} distance The distance along the associated path
@param {Object {Matrix}} matrix Allocated by the caller, this is set to the transformation
        associated with the position and tangent at the specified distance
@param {Number} flags Specified what aspects should be returned in the matrix.
*/
getMatrix : function(  ) {},

/**Given a start and stop distance, return in dst the intervening
 segment(s). If the segment is zero-length, return false, else return
 true. startD and stopD are pinned to legal values (0..getLength()).
 If startD >= stopD then return false (and leave dst untouched).
 Begin the segment with a moveTo if startWithMoveTo is true.

 <p>On {@link android.os.Build.VERSION_CODES#KITKAT} and earlier
 releases, the resulting path may not display on a hardware-accelerated
 Canvas. A simple workaround is to add a single operation to this path,
 such as <code>dst.rLineTo(0, 0)</code>.</p>
*/
getSegment : function(  ) {},

/**Return true if the current contour is closed()
*/
isClosed : function(  ) {},

/**Move to the next contour in the path. Return true if one exists, or
 false if we're done with the path.
*/
nextContour : function(  ) {},


};