public class VPolygonOr<T> extends VPolygon
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 |
---|
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, 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, propagateMove, select, setColor, setCursorInsideHighlightColor, setDefaultCursorInsideHighlightColor, setHSVColor, setOwner, setSensitivity, setStroke, setTranslucencyValue, setType, setVisible, setZindex, stick, stickToGlyph, toString, unstick, unstickAllGlyphs, unstickAllGlyphs, unstickFromGlyph, visibleInRegion, visibleInViewport
public 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()
Glyph
public void orientTo(double angle)
VPolygon
public Point2D.Double[] getAbsoluteVerticesNO()
public void reSize(double factor)
Glyph
reSize
in class VPolygon
Glyph.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.