public class PCircle<T> extends VCircle
VCircle,
PRectangle,
SICirclebColor, borderColor, cursorInsideFColor, HSVbalphaC, coef, color, cursorInsideColor, ENTERED_GLYPH, EXITED_GLYPH, fColor, HSV, NO_CURSOR_EVENT, orient, sensit, size, stickedTo, stroke, visible, vx, vy, vzacO| Constructor and Description |
|---|
PCircle(double x,
double y,
int z,
double d,
Paint p) |
PCircle(double x,
double y,
int z,
double d,
Paint p,
Color bc) |
PCircle(Paint gp) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
void |
draw(Graphics2D g,
int vW,
int vH,
int i,
Stroke stdS,
AffineTransform stdT,
int dx,
int dy)
Draw this glyph.
|
void |
drawForLens(Graphics2D g,
int vW,
int vH,
int i,
Stroke stdS,
AffineTransform stdT,
int dx,
int dy)
Draw this glyph through a lens.
|
Paint |
getPaint()
Get the gradient or texture paint used to fill this glyph
|
void |
highlight(boolean h,
Color unused)
Highlights this PCircle.
|
void |
setCursorInsidePaint(Paint p)
Sets the highlight Paint.
|
void |
setPaint(Paint p)
Set a gradient or texture paint to fill this glyph.
|
addCamera, coordInside, coordInsideP, coordInsideV, fillsView, getJava2DShape, getOrient, getSize, initCams, orientTo, project, projectForLens, removeCamera, reSize, sizeTo, visibleInDiscaddHSVbColor, getBorderColor, getDefaultBorderColor, getHSVbColor, isBorderDrawn, isFilled, setBorderColor, setCursorInsideFillColor, setDrawBorder, setFilled, setHSVbColoraddHSVColor, containedInRegion, getBounds, getColor, getDefaultColor, getDefaultCursorInsideHighlightColor, getHSVColor, getLocation, getOwner, getStickedGlyphArray, getStroke, getTranslucencyValue, getType, getZindex, isSelected, isSensitive, isVisible, isVisibleThroughLens, move, moveTo, propagateMove, select, setColor, setCursorInsideHighlightColor, setDefaultCursorInsideHighlightColor, setHSVColor, setOwner, setSensitivity, setStroke, setTranslucencyValue, setType, setVisible, setZindex, stick, stickToGlyph, toString, unstick, unstickAllGlyphs, unstickAllGlyphs, unstickFromGlyph, visibleInRegion, visibleInViewportpublic PCircle(Paint gp)
gp - fill gradient paintpublic PCircle(double x,
double y,
int z,
double d,
Paint p)
x - coordinate in virtual spacey - coordinate in virtual spacez - z-index (pass 0 if you do not use z-ordering)d - diameter in virtual spacep - gradient or texture paintpublic void setPaint(Paint p)
p - gradient or texture paintpublic Paint getPaint()
public void setCursorInsidePaint(Paint p)
p - the Paint to use when highlighting this PRectangle,
or null to disable highlighting.public void highlight(boolean h,
Color unused)
highlight in class ClosedShapepublic void draw(Graphics2D g, int vW, int vH, int i, Stroke stdS, AffineTransform stdT, int dx, int dy)
Glyphdraw in class VCircleg - graphics context in which the glyph should be drawnvW - associated View width (used by some closed shapes to determine if it is worth painting the glyph's border)vH - associated View height (used by some closed shapes to determine if it is worth painting the glyph's border)i - camera index in the virtual space containing the glyphstdS - default strokestdT - identity transformdx - horizontal offsetdy - vertical offsetpublic void drawForLens(Graphics2D g, int vW, int vH, int i, Stroke stdS, AffineTransform stdT, int dx, int dy)
GlyphdrawForLens in class VCircleg - graphics context in which the glyph should be drawnvW - associated View width (used by some closed shapes to determine if it is worth painting the glyph's border)vH - associated View height (used by some closed shapes to determine if it is worth painting the glyph's border)i - camera index in the virtual space containing the glyphstdS - default strokestdT - identity transformdx - horizontal offsetdy - vertical offsetCopyright © 2000-2002 Xerox Corporation. All Rights Reserved
Copyright © 2003 World Wide Web Consortium. All Rights Reserved
Copyright © 2004-2015 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.