public static class IBendableContentPart.BendPoint
extends java.lang.Object
Constructor and Description |
---|
BendPoint(java.lang.Object contentAnchorage,
Point position)
Creates a new attached bend point.
|
BendPoint(Point position)
Creates a new unattached bend point.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getContentAnchorage()
The content element to which the bend point is attached.
|
Point |
getPosition()
The position of the unattached bend point or the (optional) position
hint for an attached bend point.
|
boolean |
isAttached()
Whether this bend point is defined through an attachment of a content
anchorage.
|
public BendPoint(java.lang.Object contentAnchorage, Point position)
contentAnchorage
- The content anchorage, to which the point is attached.position
- A position (hint) for the attached bend point.public BendPoint(Point position)
position
- The position of the bend point.public java.lang.Object getContentAnchorage()
public Point getPosition()
public boolean isAttached()
true
if the bend point is defined through an
attachment, false
if the bend point is defined
through a position.Copyright (c) 2014 itemis AG and others. All rights reserved.