org.w3c.dom.svg
Interface SVGPath
public interface SVGPath
|
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)
|
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
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.