//Auto-generated by kalyptus. DO NOT EDIT. package org.kde.qt; import org.kde.qt.Qt; public class QCanvasLine extends QCanvasPolygonalItem { protected QCanvasLine(Class dummy){super((Class) null);} public QCanvasLine(QCanvas canvas) { super((Class) null); newQCanvasLine(canvas); } private native void newQCanvasLine(QCanvas canvas); public native void setPoints(int x1, int y1, int x2, int y2); public native QPoint startPoint(); public native QPoint endPoint(); public native int rtti(); public native void setPen(QPen p); public native void moveBy(double dx, double dy); protected native void drawShape(QPainter arg1); public native QPointArray areaPoints(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ public native void dispose(); /** Has the wrapped C++ instance been deleted? */ public native boolean isDisposed(); }