Class DisplayIndependentPoint
java.lang.Object
org.eclipse.zest.layouts.dataStructures.DisplayIndependentPoint
- Direct Known Subclasses:
- BendPoint
This is a point that isn't dependent on awt, swt, or any other library,
 except layout.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionconvert(DisplayIndependentRectangle currentBounds, DisplayIndependentRectangle targetBounds) Create a new point based on the current point but in a new coordinate systemConverts this point based on the current x, y values from a percentage of the specified coordinate systemConverts this point based on the current x, y values to a percentage of the specified coordinate systembooleantoString()
- 
Field Details- 
xpublic double x
- 
ypublic double y
 
- 
- 
Constructor Details- 
DisplayIndependentPointpublic DisplayIndependentPoint(double x, double y) 
- 
DisplayIndependentPoint
 
- 
- 
Method Details- 
equals
- 
toString
- 
convertpublic DisplayIndependentPoint convert(DisplayIndependentRectangle currentBounds, DisplayIndependentRectangle targetBounds) Create a new point based on the current point but in a new coordinate system- Parameters:
- currentBounds-
- targetBounds-
 
- 
convertToPercentConverts this point based on the current x, y values to a percentage of the specified coordinate system- Parameters:
- bounds-
 
- 
convertFromPercentConverts this point based on the current x, y values from a percentage of the specified coordinate system- Parameters:
- bounds-
 
 
-