public class PathAnchor2D extends Anchor2D
Anchor2D.Anchor2DEvent, Anchor2D.Anchor2DListener, Anchor2D.Anchor2DPositionListener
Overlay.OverlayPriority
DEFAULT_NORMAL_COLOR, DEFAULT_RAY, DEFAULT_SELECTED_COLOR, PROPERTY_COLOR, PROPERTY_RAY, PROPERTY_SELECTED, PROPERTY_SELECTEDCOLOR
ID_CANBEREMOVED, ID_CLASSNAME, ID_ID, ID_NAME, ID_OVERLAY, ID_PRIORITY, ID_READONLY, ID_RECEIVEKEYEVENTONHIDDEN, ID_RECEIVEMOUSEEVENTONHIDDEN, LOD_SMALL, LOD_TINY, PROPERTY_CANBEREMOVED, PROPERTY_NAME, PROPERTY_PERSISTENT, PROPERTY_PRIORITY, PROPERTY_READONLY, PROPERTY_RECEIVEKEYEVENTONHIDDEN, PROPERTY_RECEIVEMOUSEEVENTONHIDDEN
Constructor and Description |
---|
PathAnchor2D() |
PathAnchor2D(double x1,
double y1) |
PathAnchor2D(double x1,
double y1,
java.awt.Color color,
java.awt.Color selectedColor) |
PathAnchor2D(double x1,
double y1,
java.awt.Color color,
java.awt.Color selectedColor,
int type) |
PathAnchor2D(double x1,
double y1,
double x2,
double y2) |
PathAnchor2D(double x1,
double y1,
double x2,
double y2,
java.awt.Color color,
java.awt.Color selectedColor) |
PathAnchor2D(double x1,
double y1,
double x2,
double y2,
double x3,
double y3) |
PathAnchor2D(double x1,
double y1,
double x2,
double y2,
double x3,
double y3,
java.awt.Color color,
java.awt.Color selectedColor) |
PathAnchor2D(double x1,
double y1,
double x2,
double y2,
double x3,
double y3,
int ray,
java.awt.Color color,
java.awt.Color selectedColor) |
PathAnchor2D(double x1,
double y1,
double x2,
double y2,
double x3,
double y3,
int ray,
java.awt.Color color,
java.awt.Color selectedColor,
int type) |
PathAnchor2D(double x1,
double y1,
int type) |
PathAnchor2D(double x1,
double y1,
int ray,
java.awt.Color color,
java.awt.Color selectedColor)
Deprecated.
|
PathAnchor2D(Sequence sequence,
double x1,
double y1,
double x2,
double y2,
double x3,
double y3,
int ray,
java.awt.Color color,
java.awt.Color selectedColor)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Point2D.Double |
getPosCExt() |
double |
getPosCExtX() |
double |
getPosCExtY() |
java.awt.geom.Point2D.Double |
getPosQExt() |
double |
getPosQExtX() |
double |
getPosQExtY() |
int |
getType() |
boolean |
isVisible() |
boolean |
loadFromXML(org.w3c.dom.Node node)
LOAD
|
boolean |
loadPositionFromXML(org.w3c.dom.Node node) |
boolean |
savePositionToXML(org.w3c.dom.Node node) |
boolean |
saveToXML(org.w3c.dom.Node node)
SAVE
|
void |
setPosCExt(double x,
double y) |
void |
setPosCExt(java.awt.geom.Point2D p) |
void |
setPosCExtX(double x) |
void |
setPosCExtY(double y) |
void |
setPosQExt(double x,
double y) |
void |
setPosQExt(java.awt.geom.Point2D p) |
void |
setPosQExtX(double x) |
void |
setPosQExtY(double y) |
void |
setType(int value)
Set the type of this segment
|
void |
translate(double dx,
double dy) |
addAnchorListener, addListener, addPositionListener, getColor, getPosition, getPositionInternal, getPositionX, getPositionY, getProps, getRay, getSelectedColor, getX, getY, getZ, isOver, isOver, isSelected, keyPressed, keyPressed, keyReleased, keyReleased, mouseDrag, mouseDrag, mouseMove, mouseMove, mousePressed, mousePressed, mouseReleased, mouseReleased, moveTo, moveTo, onChanged, paint, paint, removeAnchorListener, removeListener, removePositionListener, run, setColor, setPosition, setPosition, setRay, setSelected, setSelectedColor, setVisible, setX, setY, setZ
addOverlayListener, attachTo, beginUpdate, changed, compareTo, createFromXML, detachFrom, endUpdate, getAttachedCanvas, getCanBeRemoved, getName, getOptionsPanel, getOverlayCount, getPriority, getReceiveKeyEventOnHidden, getReceiveMouseEventOnHidden, getSequences, isAttached, isFixed, isPersistent, isReadOnly, isUpdating, loadFromXML, loadOverlaysFromXML, mouseClick, mouseClick, mouseEntered, mouseEntered, mouseExited, mouseExited, mouseWheelMoved, mouseWheelMoved, painterChanged, propertyChanged, remove, removeOverlayListener, saveOverlaysToXML, setCanBeRemoved, setFixed, setName, setPersistent, setPriority, setReadOnly, setReceiveKeyEventOnHidden, setReceiveMouseEventOnHidden
public PathAnchor2D(double x1, double y1, double x2, double y2, double x3, double y3, int ray, java.awt.Color color, java.awt.Color selectedColor, int type)
public PathAnchor2D(double x1, double y1, double x2, double y2, double x3, double y3, int ray, java.awt.Color color, java.awt.Color selectedColor)
@Deprecated public PathAnchor2D(Sequence sequence, double x1, double y1, double x2, double y2, double x3, double y3, int ray, java.awt.Color color, java.awt.Color selectedColor)
PathAnchor2D(double, double, double, double, double, double, int, Color, Color)
instead.public PathAnchor2D(double x1, double y1, double x2, double y2, double x3, double y3, java.awt.Color color, java.awt.Color selectedColor)
public PathAnchor2D(double x1, double y1, double x2, double y2, double x3, double y3)
public PathAnchor2D(double x1, double y1, double x2, double y2, java.awt.Color color, java.awt.Color selectedColor)
public PathAnchor2D(double x1, double y1, double x2, double y2)
public PathAnchor2D(double x1, double y1, java.awt.Color color, java.awt.Color selectedColor, int type)
public PathAnchor2D(double x1, double y1, java.awt.Color color, java.awt.Color selectedColor)
@Deprecated public PathAnchor2D(double x1, double y1, int ray, java.awt.Color color, java.awt.Color selectedColor)
PathAnchor2D(double, double, double, double, double, double, int, Color, Color)
instead.public PathAnchor2D(double x1, double y1, int type)
public PathAnchor2D(double x1, double y1)
public PathAnchor2D()
public int getType()
public void setType(int value)
value
- the type to setPathIterator
public java.awt.geom.Point2D.Double getPosQExt()
public java.awt.geom.Point2D.Double getPosCExt()
public void setPosQExt(java.awt.geom.Point2D p)
public void setPosQExt(double x, double y)
public void setPosCExt(java.awt.geom.Point2D p)
public void setPosCExt(double x, double y)
public double getPosQExtX()
public void setPosQExtX(double x)
x
- the PosQExt.x to setpublic double getPosQExtY()
public void setPosQExtY(double y)
y
- the PosQExt.y to setpublic double getPosCExtX()
public void setPosCExtX(double x)
x
- the PosCExt.x to setpublic double getPosCExtY()
public void setPosCExtY(double y)
y
- the PosCExt.y to setpublic boolean loadPositionFromXML(org.w3c.dom.Node node)
loadPositionFromXML
in class Anchor2D
public boolean loadFromXML(org.w3c.dom.Node node)
XMLPersistent
loadFromXML
in interface XMLPersistent
loadFromXML
in class Anchor2D
public boolean savePositionToXML(org.w3c.dom.Node node)
savePositionToXML
in class Anchor2D
public boolean saveToXML(org.w3c.dom.Node node)
XMLPersistent
saveToXML
in interface XMLPersistent
saveToXML
in class Anchor2D