| Package | Description |
|---|---|
| org.fit.layout.api | |
| org.fit.layout.impl | |
| org.fit.layout.model |
| Modifier and Type | Method and Description |
|---|---|
void |
OutputDisplay.drawRectangle(Rectangular rect,
Color color)
Draws the given rectangle with the specified color.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangular |
AreaGrid.getAreaBoundsAbsolute(Rectangular area) |
Rectangular |
DefaultContentRect.getBounds() |
Rectangular |
AreaGrid.getCellBoundsAbsolute(int x,
int y) |
Rectangular |
AreaGrid.getCellBoundsRelative(int x,
int y) |
Rectangular |
DefaultBox.getContentBounds() |
Rectangular |
DefaultArea.getContentBounds() |
Rectangular |
DefaultArea.getGridPosition() |
Rectangular |
DefaultGridTopology.getPosition() |
Rectangular |
DefaultBox.getVisualBounds() |
| Modifier and Type | Method and Description |
|---|---|
Rectangular |
AreaGrid.getAreaBoundsAbsolute(Rectangular area) |
Vector<Box> |
DefaultPage.getBoxesInRegion(Rectangular r) |
void |
DefaultContentRect.setBounds(Rectangular bounds) |
void |
DefaultBox.setContentBounds(Rectangular contentBounds) |
void |
DefaultArea.setGridPosition(Rectangular pos)
Sets the position in the parent area grid for this area
|
void |
DefaultBox.setVisualBounds(Rectangular visualBounds) |
| Constructor and Description |
|---|
DefaultArea(Rectangular r) |
| Modifier and Type | Method and Description |
|---|---|
Rectangular |
ContentRect.getBounds()
Obtains the pixel position within in the page.
|
Rectangular |
Box.getBounds()
Returns the logical bounds of the box node.
|
Rectangular |
Box.getContentBounds()
Returns the content bounds.
|
Rectangular |
AreaTopology.getPosition() |
Rectangular |
Box.getVisualBounds()
Returns the bounds of the box as they visually appear to the user.
|
Rectangular |
Rectangular.hsplit(Rectangular other)
If this rectangle intersets with the other one, splits this rectangle horizontally so that it does not intersect with the other one anymore.
|
Rectangular |
Rectangular.intersection(Rectangular other) |
Rectangular |
Rectangular.replaceX(Rectangular other)
Replaces the X coordinates of the rectangle with the X coordinates of another one.
|
Rectangular |
Rectangular.replaceY(Rectangular other)
Replaces the Y coordinates of the rectangle with the Y coordinates of another one.
|
Rectangular |
Rectangular.vsplit(Rectangular other)
If this rectangle intersets with the other one, splits this rectangle horizontally so that it does not intersect with the other one anymore.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Rectangular.copy(Rectangular src) |
boolean |
Rectangular.encloses(Rectangular other)
Checks if this rectangle entirely contains another rectangle.
|
boolean |
Rectangular.enclosesX(Rectangular other)
Checks if this rectangle entirely contains the X coordinates of another rectangle.
|
boolean |
Rectangular.enclosesY(Rectangular other)
Checks if this rectangle entirely contains the Y coordinates of another rectangle.
|
void |
Rectangular.expandToEnclose(Rectangular other) |
Vector<Box> |
Page.getBoxesInRegion(Rectangular r)
Finds the root boxes of subtrees that intersect with the given region.
|
Rectangular |
Rectangular.hsplit(Rectangular other)
If this rectangle intersets with the other one, splits this rectangle horizontally so that it does not intersect with the other one anymore.
|
Rectangular |
Rectangular.intersection(Rectangular other) |
boolean |
Rectangular.intersects(Rectangular other) |
Rectangular |
Rectangular.replaceX(Rectangular other)
Replaces the X coordinates of the rectangle with the X coordinates of another one.
|
Rectangular |
Rectangular.replaceY(Rectangular other)
Replaces the Y coordinates of the rectangle with the Y coordinates of another one.
|
Rectangular |
Rectangular.vsplit(Rectangular other)
If this rectangle intersets with the other one, splits this rectangle horizontally so that it does not intersect with the other one anymore.
|
| Constructor and Description |
|---|
Rectangular(Rectangular src) |
Copyright © 2015. All rights reserved.