cz.cuni.jagrlib.iface
Interface CurveRender
- All Superinterfaces:
- Property, Render
- All Known Implementing Classes:
- BezierCurve, BezierRegular
public interface CurveRender
- extends Render
Rendering interface for stroked curves.
- Since:
- 0.01
- See Also:
- CurveRender.java
| Fields inherited from interface cz.cuni.jagrlib.iface.Render |
LINE_CAP, LINE_CAP_BUTT, LINE_CAP_ROUND, LINE_CAP_SQUARE, LINE_JOIN, LINE_JOIN_BEVEL, LINE_JOIN_DISJOINT, LINE_JOIN_MITER, LINE_JOIN_OVERLAP, LINE_JOIN_ROUND, LINE_WIDTH, PROJECTION, RENDER_STYLE, RENDER_STYLE_FLAT, RENDER_STYLE_GOURAUD, RENDER_STYLE_LINE, RENDER_STYLE_PHONG, RENDER_STYLE_TEXTURE |
|
Method Summary |
void |
drawCurve(double[] cp,
int orig,
int len,
int dim)
Draws curve segment using the given array of control points. |
void |
drawCurve(int[] cp,
int orig,
int len,
int dim)
Draws curve segment using the given array of control points. |
drawCurve
void drawCurve(int[] cp,
int orig,
int len,
int dim)
- Draws curve segment using the given array of control points.
- Parameters:
cp - Array of control points.orig - First array item to be used.len - Number of control points (can define curve order).dim - Number of coordinate components (2 for plane, ..).
drawCurve
void drawCurve(double[] cp,
int orig,
int len,
int dim)
- Draws curve segment using the given array of control points.
- Parameters:
cp - Array of control points.orig - First array item to be used.len - Number of control points (can define curve order).dim - Number of coordinate components (2 for plane, ..).