|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--quicktime.QTObject
|
+--quicktime.util.QTHandleRef
|
+--quicktime.qd.Polygon
The Polygon represents an arbitary area or set of areas on the drawing coordinate plane. Methods are implemented for a corresponding QuickDraw structure used by QuickTime. refer to Polygon in QuickDraw
| Field Summary |
| Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
| Constructor Summary | |
Polygon(QDGraphics g)
Allocates a new empty Polygon. |
|
| Method Summary | |
java.lang.Object |
clone()
Copies the mathematical structure of the implicit Polygon into a newly created Polygon. |
void |
close()
Completes the collection of lines that define the polygon. |
Polygon |
copy()
Copies the mathematical structure of the implicit Polygon into a newly created Polygon. |
QDRect |
getBounds()
Returns a copy of the bounding rectangle of the Polygon. |
QDRect |
getPolyBBox()
Returns a copy of the bounding rectangle of the Polygon. |
int |
getSize()
Returns size of the Polygon. |
void |
offset(int dh,
int dv)
offset moves the Polygon by adding the value you specify in the dh parameter to the horizontal coordinates of its points, and by adding the value you specify in the dv parameter to the vertical coordinates of all points of its boundary. |
java.lang.String |
toString()
Print information about this object. |
| Methods inherited from class quicktime.util.QTHandleRef |
copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, fromCompressionDialogState, fromSCSequence, getBytes, inMemory, isLocked, lock, lockHigh, moveHigh, toQTPointer, toQTPointer, unlock |
| Methods inherited from class quicktime.QTObject |
disposeQTObject, equals, ID |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Polygon(QDGraphics g)
throws QTException
| Method Detail |
public void close()
throws QDException
QDExceptionpublic int getSize()
getSize in class QTHandleRefpublic QDRect getPolyBBox()
public QDRect getBounds()
public Polygon copy()
throws QTException
QTExceptionpublic java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String toString()
toString in class QTHandleRef
public void offset(int dh,
int dv)
throws QDException
dh - The horizontal distance to move the polygon.dv - The vertical distance to move the polygon.
QDException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||