|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectTGArcOp
public class TGArcOp
This class implements a TurtleGraphics ARC graphics operation.
| Constructor Summary | |
|---|---|
TGArcOp(TGPoint origin,
double radius,
double startAng,
double arcAng,
java.awt.Color color,
int penSz)
Return a TGArcOp object, a TGGraphicsOp, which can be queued for TGCanvas to paint. |
|
TGArcOp(TGPoint origin,
double radius,
double strtAng,
double arcAng,
java.awt.Color color,
int penSz,
float[] penPat)
Return a TGArcOp object, a TGGraphicsOp, which can be queued for TGCanvas to paint. |
|
| Method Summary | |
|---|---|
java.awt.Rectangle |
doIt(java.awt.image.BufferedImage inMemoryImage)
Perform an operation on (do something) with the provided Image and return a Rectangle which is a cliprect for the area of the Image that was changed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TGArcOp(TGPoint origin,
double radius,
double startAng,
double arcAng,
java.awt.Color color,
int penSz)
origin - center of the arc, a TGPointradius - radius of the arcstartAng - Start angle in radians; 0 is along the positive X axis,
radians increase counter-clockwisearcAng - Angular extent of the arc, relative to startAngle, in
radians as with startAnglecolor - pen colorpenSz - pen size, width of the arc
public TGArcOp(TGPoint origin,
double radius,
double strtAng,
double arcAng,
java.awt.Color color,
int penSz,
float[] penPat)
origin - center/origin of the arc, a TGPointradius - radius of the arcstrtAng - Start angle in radians; 0 is along the positive X axis,
radians increase counter-clockwisearcAng - Angular extent of the arc, relative to startAngle, in
radians as with startAnglecolor - pen colorpenSz - pen size, width of the arcpenPat - dashed line pattern. even elements are draw
amounts, odd elements are skip amounts| Method Detail |
|---|
public java.awt.Rectangle doIt(java.awt.image.BufferedImage inMemoryImage)
doIt in interface TGGraphicsOpinMemoryImage - the object on which to draw
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||