public class SICircle<T> extends VCircle
bColor, borderColor, cursorInsideFColor, HSVb
alphaC, coef, color, cursorInsideColor, ENTERED_GLYPH, EXITED_GLYPH, fColor, HSV, NO_CURSOR_EVENT, orient, sensit, size, stickedTo, stroke, visible, vx, vy, vz
acO
Constructor and Description |
---|
SICircle() |
SICircle(double x,
double y,
int z,
double d,
Color c) |
SICircle(double x,
double y,
int z,
double d,
Color c,
Color bc) |
SICircle(double x,
double y,
int z,
double d,
Color c,
Color bc,
float alpha) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
coordInsideV(double cvx,
double cvy,
Camera c)
Detect whether the given point is inside this glyph or not.
|
void |
project(Camera c,
Dimension d)
Project glyph w.r.t a given camera's coordinate system, prior to actual painting.
|
void |
projectForLens(Camera c,
int lensWidth,
int lensHeight,
float lensMag,
double lensx,
double lensy)
Project glyph w.r.t a given camera's coordinate system, prior to actual painting through a lens.
|
boolean |
visibleInViewport(double wb,
double nb,
double eb,
double sb,
Camera c) |
addCamera, coordInside, coordInsideP, draw, drawForLens, fillsView, getJava2DShape, getOrient, getSize, initCams, orientTo, removeCamera, reSize, sizeTo, visibleInDisc
addHSVbColor, getBorderColor, getDefaultBorderColor, getHSVbColor, highlight, isBorderDrawn, isFilled, setBorderColor, setCursorInsideFillColor, setDrawBorder, setFilled, setHSVbColor
addHSVColor, 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
public SICircle()
public SICircle(double x, double y, int z, double d, Color c)
x
- coordinate in virtual spacey
- coordinate in virtual spacez
- z-index (pass 0 if you do not use z-ordering)d
- diameter in virtual spacec
- fill colorpublic SICircle(double x, double y, int z, double d, Color c, Color bc)
x
- coordinate in virtual spacey
- coordinate in virtual spacez
- z-index (pass 0 if you do not use z-ordering)d
- diameter in virtual spacec
- fill colorbc
- border colorpublic SICircle(double x, double y, int z, double d, Color c, Color bc, float alpha)
x
- coordinate in virtual spacey
- coordinate in virtual spacez
- z-index (pass 0 if you do not use z-ordering)d
- diameter in virtual spacec
- fill colorbc
- border coloralpha
- alpha channel value in [0;1.0] 0 is fully transparent, 1 is opaquepublic boolean coordInsideV(double cvx, double cvy, Camera c)
Glyph
coordInsideV
in class VCircle
cvx
- virtual space coordinatescvy
- virtual space coordinatesc
- camera through which the glyph is observed (only a few types of Glyph actually require this information: SICircle, SIRectangle, VText)Glyph.coordInside(int jpx, int jpy, Camera c, double cvx, double cvy)
,
Glyph.coordInsideP(int jpx, int jpy, Camera c)
public boolean visibleInViewport(double wb, double nb, double eb, double sb, Camera c)
visibleInViewport
in class Glyph
public void project(Camera c, Dimension d)
Glyph
public void projectForLens(Camera c, int lensWidth, int lensHeight, float lensMag, double lensx, double lensy)
Glyph
projectForLens
in class VCircle
c
- cameralensWidth
- width of lens activated in View using this cameralensHeight
- height of lens activated in View using this cameralensMag
- magnification factor of lens activated in View using this cameralensx
- horizontal coordinateof lens activated in View using this cameralensy
- vertical coordinate of lens activated in View using this cameraCopyright © 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.