public class IlvDecoratedPath extends IlvGeneralPath
java.awt.Shape.IlvGeneralPath,
IlvPathDecoration,
Serialized Form| Constructor and Description |
|---|
IlvDecoratedPath(IlvDecoratedPath source)
Copy constructor.
|
IlvDecoratedPath(IlvInputStream stream)
Reads the object from an
IlvInputStream. |
IlvDecoratedPath(Shape shape)
Constructs a new decorated path whose baseline is the specified
java.awt.Shape. |
| Modifier and Type | Method and Description |
|---|---|
IlvRect |
boundingBox(IlvTransformer t)
Computes the bounding box of this object for the specified transformer.
|
boolean |
contains(IlvPoint p,
IlvPoint tp,
IlvTransformer t)
Tests if a point lies within the shape.
|
IlvGraphic |
copy()
Returns a copy of this decorated path.
|
void |
draw(Graphics graphics,
IlvTransformer t)
Draws this
IlvDecoratedPath with the specified graphics
and the specified transformer. |
IlvPathDecoration |
getDecoration()
Returns the decoration for this decorated path.
|
boolean |
isDecorationOn()
Returns
true if the decoration of this decorated path
is to be drawn. |
void |
setDecoration(IlvPathDecoration decoration)
Sets the decoration for this decorated path.
|
void |
setDecorationOn(boolean set)
Sets whether the decoration of this decorated path is to be drawn.
|
void |
write(IlvOutputStream stream)
Writes this object to the specified
IlvOutputStream. |
boolean |
zoomable()
Returns
true if this object is zoomable. |
adaptPaint, allowsPointInsertion, allowsPointMove, allowsPointRemoval, applyTransform, calcBoundingBox, getAlpha, getApplyTransformer, getClip, getFillPaint, getIntersectionWithOutline, getMaximumStrokeWidth, getOriginalShape, getPointAt, getPointsCardinal, getShape, getShapeBounds, getStroke, getStrokePaint, getTransformer, insertPoint, isContainsWhenNotFilled, isFillOn, isPaintAbsolute, isPaintZoomed, isPointEditionAllowed, isStrokeOn, isTransformedShapeMode, makeSelection, movePoint, moveResize, pointsInBBox, removePoint, resize, setAlpha, setBackground, setClip, setContainsWhenNotFilled, setFillOn, setFillPaint, setForeground, setInternalShape, setMaximumStrokeWidth, setPaintAbsolute, setPaintZoomed, setPointEditionAllowed, setShape, setShapeBounds, setStroke, setStrokeOn, setStrokePaint, setTransformedShapeMode, setTransformeraddActionListener, addNamedPropertyListener, allViewsRemoved, baseTextDirectionChanged, blinkingStateOn, boundingBox, callDraw, componentOrientationChanged, getAndAssociateObjectInteractor, getBaseTextDirection, getBlinkingAction, getBlinkingObjectOwner, getBlinkingOffPeriod, getBlinkingOnPeriod, getCenter, getComponentOrientation, getDefaultInteractor, getGraphicBag, GetGraphicObject, getLocale, getName, getNamedProperty, getObjectInteractor, getPopupMenu, getPopupMenu, getPopupMenuName, getProperty, getResolvedBaseTextDirection, getToolTipBaseTextDirection, getToolTipText, getToolTipText, getTopLevelGraphicBag, getTransferData, getTransferDataFlavors, getULocale, getZOrderIndex, hasProperty, inside, intersects, invalidateBBoxCache, invalidateBidiCache, isBaseTextDirectionSensitive, isComponentOrientationSensitive, isDataFlavorSupported, isEditable, isInApplyToObject, isLocaleSensitive, isMovable, isPersistent, isSelectable, isVisible, localeChanged, move, move, needsViewNotification, notifyObjectInteractorToManager, processActionEvent, reDraw, registerBlinkingResource, removeActionListener, removeNamedProperty, removeNamedPropertyListener, removeProperty, replaceProperty, rotate, scale, setBaseTextDirection, setBaseTextDirectionDuringConstruction, setBlinkingAction, setBlinkingOffPeriod, setBlinkingOnPeriod, setEditable, setGraphicBag, setInApplyToObject, setMovable, setName, setNamedProperty, setNameImpl, setObjectInteractor, setPopupMenu, setPopupMenuName, setProperty, setSelectable, setToolTipBaseTextDirection, setToolTipText, setVisible, setZOrderIndex, toString, translate, updateNeedsViewNotification, usesBidiMarkers, viewAddedOrRemovedpublic IlvDecoratedPath(Shape shape)
java.awt.Shape.shape - The Shape of this decorated path.public IlvDecoratedPath(IlvDecoratedPath source)
source - The source decorated path.public IlvDecoratedPath(IlvInputStream stream) throws IlvReadFileException
IlvInputStream.IlvReadFileExceptionpublic void write(IlvOutputStream stream) throws IOException
IlvOutputStream.write in interface IlvPersistentObjectwrite in class IlvGeneralPathstream - The output stream.IOException - thrown when an exception occurs during
the write operation for this object.public void setDecoration(IlvPathDecoration decoration)
decoration - The decoration.public IlvPathDecoration getDecoration()
public boolean isDecorationOn()
true if the decoration of this decorated path
is to be drawn.public void setDecorationOn(boolean set)
set - If true, the decoration is drawn.public void draw(Graphics graphics, IlvTransformer t)
IlvDecoratedPath with the specified graphics
and the specified transformer.draw in class IlvGeneralPathgraphics - The graphics to draw to.t - The viewing transformer.IlvGraphic.callDraw(Graphics,IlvTransformer),
IlvGraphic.boundingBox(IlvTransformer),
IlvGraphic.zoomable(),
IlvGraphicpublic boolean contains(IlvPoint p, IlvPoint tp, IlvTransformer t)
contains in class IlvGeneralPathp - The point to be tested.tp - The point p transformed by the transformer t.t - The transformation that was applied to the object when it
was drawn.true if the point lies inside this graphic object.IlvGeneralPath.isContainsWhenNotFilled()public IlvGraphic copy()
copy in class IlvGeneralPathIlvGeneralPath.IlvGraphicpublic IlvRect boundingBox(IlvTransformer t)
boundingBox in interface IlvPolyPointsInterfaceboundingBox in class IlvGeneralPatht - The transformer.IlvGeneralPath.getShapeBounds(IlvTransformer)public boolean zoomable()
true if this object is zoomable.zoomable in class IlvGraphicIlvGraphic,
IlvGraphic.draw(java.awt.Graphics, ilog.views.IlvTransformer),
IlvGraphic.boundingBox(IlvTransformer),
IlvManager© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.