Class Overview
A Float takes its content out of the main content flow and positions it
relative to a reference point, with the document content wrapped around it.
Public Methods
Returns
- The reference point the horizontal position is relative to
Returns
- The way the document content flows around the float
public
double
getPositionX
()
Returns
- The horizontal position of the float in points
public
double
getPositionY
()
Returns
- The vertical position of the float in points
Returns
- The reference point the vertical position is relative to
public
void
setHorizontalReferencePoint
(Float.ReferencePoint point)
Sets the reference point the horizontal position is relative to.
Parameters
| point |
The horizontal reference point |
Sets the way the document content flows around the float.
Parameters
| type |
The obstruction type |
public
void
setPositionX
(double xPoints)
Sets the horizontal position of the float, relative to its horizontal
reference point.
Parameters
| xPoints |
The horizontal position in points |
public
void
setPositionY
(double yPoints)
Sets the vertical position of the float, relative to its vertical
reference point.
Parameters
| yPoints |
The vertical position in points |
public
void
setVerticalReferencePoint
(Float.ReferencePoint point)
Sets the reference point the vertical position is relative to.
Parameters
| point |
The vertical reference point |