|
JHotDraw 7.5.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jhotdraw.samples.odg.geom.EnhancedPath.Segment
public static class EnhancedPath.Segment
Defines a vertex (node) of the bezier path.
A vertex consists of three control points: C0, C1 and C2.
| Field Summary | |
|---|---|
double[] |
coords
Control points x and y coordinates. |
java.lang.String[] |
modifiers
Modifiers and formulas. |
EnhancedPath.SegType |
type
The type of the segment. |
| Constructor Summary | |
|---|---|
EnhancedPath.Segment()
|
|
EnhancedPath.Segment(EnhancedPath.Segment that)
|
|
EnhancedPath.Segment(EnhancedPath.SegType type,
java.lang.Object... coordOrModifier)
Creates a segment. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
void |
setTo(EnhancedPath.Segment that)
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public EnhancedPath.SegType type
public double[] coords
public java.lang.String[] modifiers
| Constructor Detail |
|---|
public EnhancedPath.Segment()
public EnhancedPath.Segment(EnhancedPath.SegType type,
java.lang.Object... coordOrModifier)
public EnhancedPath.Segment(EnhancedPath.Segment that)
| Method Detail |
|---|
public void setTo(EnhancedPath.Segment that)
public java.lang.Object clone()
clone in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
|
Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project. Some rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||