public class FRectangle<T> extends VRectangle
VRectangle,
VRectangleOr,
PRectangle,
SIRectanglear, pc, vh, vwbColor, 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 |
|---|
FRectangle() |
FRectangle(double x,
double y,
int z,
double w,
double h,
Color c,
Color bc,
float ta,
float ba) |
FRectangle(double x,
double y,
int z,
double w,
double h,
Color c,
float ta,
float ba) |
| 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.
|
boolean |
fillsView(double w,
double h,
int camIndex)
Find out if this glyph completely fills a view.
|
void |
setGradientBottomAlpha(float a) |
void |
setGradientTopAlpha(float a) |
addCamera, coordInside, coordInsideP, coordInsideV, getBounds, getHeight, getJava2DShape, getOrient, getSize, getWidth, initCams, orientTo, project, projectForLens, removeCamera, reSize, setHeight, setWidth, sizeTo, visibleInDisc, visibleInRegionaddHSVbColor, getBorderColor, getDefaultBorderColor, getHSVbColor, highlight, isBorderDrawn, isFilled, setBorderColor, setCursorInsideFillColor, setDrawBorder, setFilled, setHSVbColoraddHSVColor, containedInRegion, 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, visibleInViewportpublic FRectangle()
public FRectangle(double x,
double y,
int z,
double w,
double h,
Color c,
float ta,
float ba)
x - coordinate in virtual spacey - coordinate in virtual spacez - z-index (pass 0 if you do not use z-ordering)w - width in virtual spaceh - height in virtual spacec - fill colorta - gradient top alpha valueba - gradient bottom alpha valuepublic FRectangle(double x,
double y,
int z,
double w,
double h,
Color c,
Color bc,
float ta,
float ba)
x - coordinate in virtual spacey - coordinate in virtual spacez - z-index (pass 0 if you do not use z-ordering)w - width in virtual spaceh - height in virtual spacec - fill colorbc - border colorta - gradient top alpha valueba - gradient bottom alpha valuepublic void setGradientTopAlpha(float a)
public void setGradientBottomAlpha(float a)
public boolean fillsView(double w,
double h,
int camIndex)
GlyphfillsView in class VRectanglepublic void draw(Graphics2D g, int vW, int vH, int i, Stroke stdS, AffineTransform stdT, int dx, int dy)
Glyphdraw in class VRectangleg - 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 VRectangleg - 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 Object clone()
clone in class VRectangleCopyright © 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.