public class VPolygonOr<T> extends VPolygon
bColor, 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 |
|---|
VPolygonOr(Point2D.Double[] v,
int z,
Color c,
Color bc,
double or) |
VPolygonOr(Point2D.Double[] v,
int z,
Color c,
Color bc,
double or,
float alpha) |
VPolygonOr(Point2D.Double[] v,
int z,
Color c,
double or) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
Point2D.Double[] |
getAbsoluteVerticesNO()
Vertex coordinates w.r.t centroid, not taking Glyph orientation into account.
|
double |
getOrient()
Get the glyph's orientation.
|
void |
orientTo(double angle)
Cannot be reoriented.
|
void |
reSize(double factor)
Set glyph's size by multiplying its bounding circle diameter by a factor.
|
addCamera, coordInside, coordInsideP, coordInsideV, draw, drawForLens, fillsView, getAbsoluteVertices, getArea, getCentroid, getJava2DShape, getSize, getVertices, getVerticesAsText, initCams, move, moveTo, project, projectForLens, removeCamera, sizeTo, visibleInDiscaddHSVbColor, getBorderColor, getDefaultBorderColor, getHSVbColor, highlight, isBorderDrawn, isFilled, setBorderColor, setCursorInsideFillColor, setDrawBorder, setFilled, setHSVbColoraddHSVColor, containedInRegion, getBounds, getColor, getDefaultColor, getDefaultCursorInsideHighlightColor, getHSVColor, getLocation, getOwner, getStickedGlyphArray, getStroke, getTranslucencyValue, getType, getZindex, isSelected, isSensitive, isVisible, isVisibleThroughLens, propagateMove, select, setColor, setCursorInsideHighlightColor, setDefaultCursorInsideHighlightColor, setHSVColor, setOwner, setSensitivity, setStroke, setTranslucencyValue, setType, setVisible, setZindex, stick, stickToGlyph, toString, unstick, unstickAllGlyphs, unstickAllGlyphs, unstickFromGlyph, visibleInRegion, visibleInViewportpublic VPolygonOr(Point2D.Double[] v, int z, Color c, double or)
v - list of x,y vertices ABSOLUTE coordinates in virtual spacez - z-index (pass 0 if you do not use z-ordering)c - fill coloror - orientationpublic VPolygonOr(Point2D.Double[] v, int z, Color c, Color bc, double or)
v - list of x,y vertices ABSOLUTE coordinates i virtual spacez - z-index (pass 0 if you do not use z-ordering)c - fill colorbc - border coloror - orientationpublic VPolygonOr(Point2D.Double[] v, int z, Color c, Color bc, double or, float alpha)
v - list of x,y vertices ABSOLUTE coordinates i virtual spacez - z-index (pass 0 if you do not use z-ordering)c - fill colorbc - border coloror - orientationalpha - in [0;1.0]. 0 is fully transparent, 1 is opaquepublic double getOrient()
Glyphpublic void orientTo(double angle)
VPolygonpublic Point2D.Double[] getAbsoluteVerticesNO()
public void reSize(double factor)
GlyphreSize in class VPolygonGlyph.sizeTo(double s)Copyright © 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.