org.w3c.dom.svg
Interface SVGPath


public interface SVGPath


Field Summary
static short CLOSE
           
static short CURVE_TO
           
static short LINE_TO
           
static short MOVE_TO
           
static short QUAD_TO
           
 
Method Summary
 void close()
           
 void curveTo(float x1, float y1, float x2, float y2, float x3, float y3)
           
 int getNumberOfSegments()
           
 short getSegment(int cmdIndex)
           
 float getSegmentParam(int cmdIndex, int paramIndex)
           
 void lineTo(float x, float y)
           
 void moveTo(float x, float y)
           
 void quadTo(float x1, float y1, float x2, float y2)
           
 

Field Detail

MOVE_TO

static final short MOVE_TO
See Also:
Constant Field Values

LINE_TO

static final short LINE_TO
See Also:
Constant Field Values

CURVE_TO

static final short CURVE_TO
See Also:
Constant Field Values

QUAD_TO

static final short QUAD_TO
See Also:
Constant Field Values

CLOSE

static final short CLOSE
See Also:
Constant Field Values
Method Detail

getNumberOfSegments

int getNumberOfSegments()

getSegment

short getSegment(int cmdIndex)
                 throws DOMException
Throws:
DOMException

getSegmentParam

float getSegmentParam(int cmdIndex,
                      int paramIndex)
                      throws DOMException
Throws:
DOMException

moveTo

void moveTo(float x,
            float y)

lineTo

void lineTo(float x,
            float y)

quadTo

void quadTo(float x1,
            float y1,
            float x2,
            float y2)

curveTo

void curveTo(float x1,
             float y1,
             float x2,
             float y2,
             float x3,
             float y3)

close

void close()


Copyright © 2010 JSRs for Android team. All Rights Reserved.