public abstract class IlvLinkAttachmentLocation extends IlvAttachmentLocation
IlvAttachable
IlvAttachable
,
Serialized FormModifier and Type | Field and Description |
---|---|
static IlvAttachmentLocation |
FromLink
This is the point on the first segment of the link, at a distance of 17
from the origin.
|
static IlvAttachmentLocation |
MiddleLink
This is the "midpoint" of the polyline, that is, the midpoint of
the segment which is closest to the midpoint of the segment
lengths.
|
static IlvLinkAttachmentLocation |
NearFromLink
This location is used together with
FromLink to attach an IlvGraphic to the origin of a link. |
static IlvLinkAttachmentLocation |
NearToLink
This location is used together with
ToLink to attach an IlvGraphic to the destination of a link. |
static IlvAttachmentLocation |
ToLink
This is the point on the last segment of the link, at a distance of 17
from the destination.
|
BottomCenter, BottomLeft, BottomRight, Center, CenterPostOrderFirst, HotSpot, LeftCenter, LeftHotSpot, RightCenter, TopCenter, TopLeft, TopRight
Modifier | Constructor and Description |
---|---|
protected |
IlvLinkAttachmentLocation(String description)
Creates a new link attachment location with the given name.
|
Modifier and Type | Method and Description |
---|---|
static IlvAttachmentLocation |
atFromLink(float distance)
This is the point on the first segment of the link, at a given
distance from the origin.
|
static IlvAttachmentLocation |
atToLink(float distance)
This is the point on the last segment of the link, at a given
distance from the destination.
|
boolean |
setValue(IlvAttachable graphic,
IlvPoint value)
Sets the value of the location.
|
getName, getValue, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
write
public static IlvLinkAttachmentLocation NearFromLink
FromLink
to attach an IlvGraphic
to the origin of a link.
Its value, depending on the shape of the link, can be: public static IlvLinkAttachmentLocation NearToLink
ToLink
to attach an IlvGraphic
to the destination of a link.
Its value, depending on the shape of the link, can be: public static IlvAttachmentLocation FromLink
public static IlvAttachmentLocation ToLink
public static IlvAttachmentLocation MiddleLink
protected IlvLinkAttachmentLocation(String description)
public boolean setValue(IlvAttachable graphic, IlvPoint value)
Error
exception.setValue
in class IlvAttachmentLocation
true
if the element's position has changed.public static IlvAttachmentLocation atFromLink(float distance)
distance
- The distance on the first segment.public static IlvAttachmentLocation atToLink(float distance)
distance
- The distance on the last segment.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.