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 |
---|---|
boolean |
equals(java.lang.Object obj) |
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.
|
int |
hashCode() |
boolean |
isAttached()
Whether this bend point is defined through an attachment of a content
anchorage.
|
java.lang.String |
toString() |
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 boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.Object getContentAnchorage()
public Point getPosition()
public int hashCode()
hashCode
in class java.lang.Object
public boolean isAttached()
true
if the bend point is defined through an
attachment, false
if the bend point is defined
through a position.public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 2014 itemis AG and others. All rights reserved.