|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvGraphic
ilog.views.graphic.IlvPolyPoints
ilog.views.graphic.IlvSpline
ilog.views.graphic.IlvClosedSpline
ilog.views.graphic.IlvFilledSpline
IlvSpline instead
with IlvSpline.setFillOn(boolean) and IlvSpline.setClosed(boolean) methods.
public class IlvFilledSpline
A filled closed Bezier spline.
| Constructor Summary | |
|---|---|
IlvFilledSpline(IlvFilledSpline source)
Deprecated. Creates a new filled spline by copying an existing one. |
|
IlvFilledSpline(IlvInputStream stream)
Deprecated. |
|
IlvFilledSpline(IlvPoint[] points)
Deprecated. Creates a new filled spline. |
|
IlvFilledSpline(IlvPoint[] points,
boolean copy)
Deprecated. Creates a new IlvFilledSpline. |
|
| Method Summary | |
|---|---|
IlvGraphic |
copy()
Deprecated. Copies the object. |
Color |
getForeground()
Deprecated. Returns the foreground color of the IlvFilledSpline. |
float |
getLineWidth()
Deprecated. Returns the line width of the object. |
void |
setForeground(Color color)
Deprecated. Changes the foreground color of the IlvFilledSpline. |
void |
setLineWidth(float lineWidth)
Deprecated. Changes the line width of the object. |
| Methods inherited from class ilog.views.graphic.IlvClosedSpline |
|---|
setClosed, setFillOn, setStrokeOn |
| Methods inherited from class ilog.views.graphic.IlvSpline |
|---|
boundingBox, computeBBox, contains, draw, finalize, getBackground, getEndCap, getIntersectionWithOutline, getLineStyle, getLineWidth, getMaximumLineWidth, getSmoothness, isClosed, isFillOn, isStrokeOn, makeSelection, pointsInBBox, setBackground, setEndCap, setLineStyle, setMaximumLineWidth, setSmoothness, write |
| Methods inherited from class ilog.views.graphic.IlvPolyPoints |
|---|
allowsPointInsertion, allowsPointMove, allowsPointRemoval, applyTransform, getPointAt, getPoints, getPointsCardinal, inBBox, insertPoint, intersects, movePoint, recomputeBBox, removePoint |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlvFilledSpline(IlvPoint[] points)
points - The control points of the spline.
This array and the points will be copied by the constructor.
public IlvFilledSpline(IlvPoint[] points,
boolean copy)
IlvFilledSpline.
points - The array of points.copy - If true, the array of points and the points
of the first parameter will be copied; otherwise this
array will be used by the object and you must not use this
array any more.public IlvFilledSpline(IlvFilledSpline source)
source - The filled spline to be copied.
public IlvFilledSpline(IlvInputStream stream)
throws IlvReadFileException
IlvInputStream.
stream - The input stream.
IlvReadFileException - if the format is not correct.| Method Detail |
|---|
public IlvGraphic copy()
copy in class IlvClosedSplineIlvGraphicpublic final float getLineWidth()
IlvFilledSpline has no outline.
Therefore, the method always returns 0.
getLineWidth in class IlvSplinepublic void setLineWidth(float lineWidth)
IlvFilledSpline has no outline.
Therefore, the method does nothing and should
not be called.
setLineWidth in class IlvSplinelineWidth - The new line width.public void setForeground(Color color)
IlvFilledSpline.
Warning:This method is redefined on this class
only for compatibility reasons.
setForeground in class IlvSplinecolor - The new foreground color.IlvGraphic.draw(Graphics, IlvTransformer),
IlvGraphic.setBackground(Color),
IlvGraphic.setFillOn(boolean),
IlvGraphic.setStrokeOn(boolean),
IlvGraphicpublic Color getForeground()
IlvFilledSpline.
Warning:This method is redefined on this class
only for compatibility reasons.
getForeground in class IlvSpline
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||