Uses of Class
cz.vutbr.fit.layout.model.Rectangular
-
Packages that use Rectangular Package Description cz.vutbr.fit.layout.api cz.vutbr.fit.layout.impl cz.vutbr.fit.layout.model -
-
Uses of Rectangular in cz.vutbr.fit.layout.api
Methods in cz.vutbr.fit.layout.api with parameters of type Rectangular Modifier and Type Method Description voidOutputDisplay. drawRectangle(Rectangular rect, Color color)Draws the given rectangle with the specified color.static booleanAreaUtils. isOnSameLine(Rectangular r1, Rectangular r2)Checks if the given rectangles are on the same line. -
Uses of Rectangular in cz.vutbr.fit.layout.impl
Methods in cz.vutbr.fit.layout.impl that return Rectangular Modifier and Type Method Description protected RectangularAreaListGridTopology. computeAreaBounds()Obtains the absolute bounds of the parent area where the child areas are positioned.protected RectangularDefaultGridTopology. computeAreaBounds()protected RectangularBaseBoxTreeBuilder. computeVisualBounds(Box box)RectangularAreaGrid. getAbsolutePosition()Obtains the absolute position where the grid is placed within the page.RectangularAreaGrid. getAreaBoundsAbsolute(int x1, int y1, int x2, int y2)Computes the absolute coordinates of the specified area in the grid.RectangularAreaGrid. getAreaBoundsAbsolute(Rectangular area)Computes the absolute coordinates of the specified area in the grid.RectangularDefaultContentRect. getBounds()RectangularDefaultTreeContentRect. getBounds()RectangularAreaGrid. getCellBoundsAbsolute(int x, int y)Computes the absolute coordinates of the specified grid cell.RectangularAreaGrid. getCellBoundsRelative(int x, int y)Computes the coordinates of the specified grid cell relatively to the area top left corner.RectangularDefaultArea. getContentBounds()RectangularDefaultBox. getContentBounds()RectangularDefaultArea. getGridPosition()Gets the grid position of this area within the parent topology.protected RectangularBaseBoxTreeBuilder. getMinimalVisualBounds(Box box)Returns the minimal bounds of the box for enclosing all the contained boxes.RectangularAreaListGridTopology. getPosition(ContentRect area)RectangularDefaultGridTopology. getPosition(ContentRect area)RectangularDefaultBox. getSubstringBounds(int startPos, int endPos)RectangularAreaListGridTopology. getTopologyPosition()RectangularDefaultBox. getVisualBounds()RectangularAreaListGridTopology. toPixelPosition(Rectangular gp)RectangularDefaultGridTopology. toPixelPosition(Rectangular gp)RectangularAreaListGridTopology. toPixelPositionAbsolute(Rectangular gp)RectangularDefaultGridTopology. toPixelPositionAbsolute(Rectangular gp)Methods in cz.vutbr.fit.layout.impl that return types with arguments of type Rectangular Modifier and Type Method Description Map<ContentRect,Rectangular>AreaListGridTopology. getPositionMap()Methods in cz.vutbr.fit.layout.impl with parameters of type Rectangular Modifier and Type Method Description AreaDefaultAreaTree. createArea(Rectangular r)AreaDefaultArea. createSuperArea(Rectangular gp, List<Area> selected, String name)TextChunkDefaultChunkSet. createTextChunk(Rectangular r, Area sourceArea, Box sourceBox)Collection<ContentRect>AreaListGridTopology. findAllAreasIntersecting(Rectangular r)RectangularAreaGrid. getAreaBoundsAbsolute(Rectangular area)Computes the absolute coordinates of the specified area in the grid.List<Box>DefaultPage. getBoxesInRegion(Rectangular r)voidDefaultContentRect. setBounds(Rectangular bounds)voidDefaultTreeContentRect. setBounds(Rectangular bounds)voidDefaultBox. setContentBounds(Rectangular contentBounds)voidDefaultArea. setGridPosition(Rectangular gp)Sets the grid position of this area within the parent topology.voidAreaListGridTopology. setPosition(ContentRect area, Rectangular gp)voidDefaultBox. setVisualBounds(Rectangular visualBounds)RectangularAreaListGridTopology. toPixelPosition(Rectangular gp)RectangularDefaultGridTopology. toPixelPosition(Rectangular gp)RectangularAreaListGridTopology. toPixelPositionAbsolute(Rectangular gp)RectangularDefaultGridTopology. toPixelPositionAbsolute(Rectangular gp)Constructors in cz.vutbr.fit.layout.impl with parameters of type Rectangular Constructor Description AreaGrid(Rectangular position, Collection<ContentRect> areas, AreaTopology targetTopology)Constructs a grid from the list of areas.DefaultArea(Rectangular r)DefaultTextChunk(Rectangular r, Area sourceArea, Box sourceBox) -
Uses of Rectangular in cz.vutbr.fit.layout.model
Methods in cz.vutbr.fit.layout.model that return Rectangular Modifier and Type Method Description RectangularBox. getBounds()Returns the logical bounds of the box.RectangularContentRect. getBounds()Obtains the pixel position within in the page.RectangularBox. getContentBounds()Returns the content bounds.RectangularArea. getGridPosition()Gets the grid position of this area within the parent topology.RectangularAreaTopology. getPosition(ContentRect area)Obtains the position of the given area within this topology.RectangularBox. getSubstringBounds(int startPos, int endPos)Returns the bounds of a substring of the own text of the box starting atstartPosand ending atendPos.RectangularAreaTopology. getTopologyPosition()Obtains the absolute position of the whole topology within the page.RectangularBox. getVisualBounds()Returns the bounds of the box as they visually appear to the user.RectangularRectangular. 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.RectangularRectangular. intersection(Rectangular other)Computes the intersection of this rectangle with another one.RectangularRectangular. replaceX(Rectangular other)Replaces the X coordinates of the rectangle with the X coordinates of another one.RectangularRectangular. replaceY(Rectangular other)Replaces the Y coordinates of the rectangle with the Y coordinates of another one.RectangularAreaTopology. toPixelPosition(Rectangular topologyPosition)Translates the bounds in the topology to pixel bounds.RectangularAreaTopology. toPixelPositionAbsolute(Rectangular topologyPosition)Translates the bounds in the topology to absolute pixel bounds.RectangularRectangular. union(Rectangular other)Computes the union of this rectangle with another one.RectangularRectangular. 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.Methods in cz.vutbr.fit.layout.model that return types with arguments of type Rectangular Modifier and Type Method Description Map<ContentRect,Rectangular>AreaTopology. getPositionMap()Obtains a map assigning a position to each area.Methods in cz.vutbr.fit.layout.model with parameters of type Rectangular Modifier and Type Method Description voidRectangular. copy(Rectangular src)AreaAreaTree. createArea(Rectangular r)Creates a new empty area in the tree.AreaArea. createSuperArea(Rectangular gp, List<Area> selected, String name)Creates a new subarea from a specified region of the area and moves the selected child nodes to the new area.TextChunkChunkSet. createTextChunk(Rectangular r, Area sourceArea, Box sourceBox)booleanRectangular. encloses(Rectangular other)Checks if this rectangle entirely contains another rectangle.booleanRectangular. enclosesX(Rectangular other)Checks if this rectangle entirely contains the X coordinates of another rectangle.booleanRectangular. enclosesY(Rectangular other)Checks if this rectangle entirely contains the Y coordinates of another rectangle.voidRectangular. expandToEnclose(Rectangular other)Collection<ContentRect>AreaTopology. findAllAreasIntersecting(Rectangular r)Finds all the areas that intersect with the specified rectangle in the grid.List<Box>Page. getBoxesInRegion(Rectangular r)Finds the root boxes of subtrees that are fully contained in the given region based on their visual bounds.RectangularRectangular. 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.RectangularRectangular. intersection(Rectangular other)Computes the intersection of this rectangle with another one.booleanRectangular. intersects(Rectangular other)booleanRectangular. intersectsX(Rectangular other)booleanRectangular. intersectsY(Rectangular other)RectangularRectangular. replaceX(Rectangular other)Replaces the X coordinates of the rectangle with the X coordinates of another one.RectangularRectangular. replaceY(Rectangular other)Replaces the Y coordinates of the rectangle with the Y coordinates of another one.voidContentRect. setBounds(Rectangular bounds)Sets the pixel position within the page.voidBox. setContentBounds(Rectangular contentBounds)Sets the content bounds of the box.voidArea. setGridPosition(Rectangular gp)Sets the grid position of this area within the parent topology.voidAreaTopology. setPosition(ContentRect area, Rectangular gp)Sets the position of the given area in this topology.voidBox. setVisualBounds(Rectangular visualBounds)Sets the visual bounds of the box.RectangularAreaTopology. toPixelPosition(Rectangular topologyPosition)Translates the bounds in the topology to pixel bounds.RectangularAreaTopology. toPixelPositionAbsolute(Rectangular topologyPosition)Translates the bounds in the topology to absolute pixel bounds.RectangularRectangular. union(Rectangular other)Computes the union of this rectangle with another one.RectangularRectangular. 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.Constructors in cz.vutbr.fit.layout.model with parameters of type Rectangular Constructor Description Rectangular(Rectangular src)
-