documentationfor yFiles for HTML 2.6

Usages of IRectangle

Properties

layoutin FolderNodeStateGets or sets the layout of the node.
layoutin INodeGets a rectangle describing the position and size of the node.
layoutin IStripeGets a live view of the relative layout of the stripe.
layoutin ITableGets the layout of the table, relative to an owner node.
layoutin SimpleNodeGets or sets the layout of the node.
layoutin TableGets the layout of the table, relative to an owner node.
alternativeGroupBoundsin HierarchicLayoutDataGets or sets a mapping from group/folder nodes to alternative bounds for these nodes.
boundsin ConstrainedReshapeHandlerGets the wrappedHandler's bounds property.
boundsin IReshapeHandlerGets a view of the bounds of the item.
minimumEnclosedAreain NodeReshapeHandleProviderGets or sets the minimum rectangular area that needs to be contained in the reshapeable.
minimumEnclosedAreain NodeReshapeHandlerHandleGets or sets the minimum enclosed area that needs to be encompassed by this reshapeable.
minimumEnclosedAreain NodeSizeConstraintProviderGets or sets the instance to return by getMinimumEnclosedArea.
maximumBoundingAreain RectangleHandleGets or sets the largest allowed size for the rectangle.
minimumEnclosedAreain RectangleHandleGets or sets the minimum enclosed area that needs to be encompassed by the rectangle.
maximumBoundingAreain ReshapeHandleProviderBaseGets or sets the maximal bounds this reshapeable may fill.
minimumEnclosedAreain ReshapeHandleProviderBaseGets or sets the minimum rectangular area that needs to be contained in the reshapeable.
maximumBoundingAreain ReshapeHandlerHandleGets or sets the maximal bounds this reshapeable may fill.
minimumEnclosedAreain ReshapeHandlerHandleGets or sets the minimum enclosed area that needs to be encompassed by this reshapeable.
maximumBoundingAreain ReshapeRectangleContextGets the maximal bounds the node's layout may fill.
minimumEnclosedAreain ReshapeRectangleContextGets minimum area the node's layout needs to encompass
boundsin TableReshapeHandler
nodeEndLayoutin LayoutExecutorAsyncGets a mapping from nodes in the graph to their new layout, after the results are in.
expandedNodeOriginalBoundsin ClearAreaLayoutDataGets or sets the original, non-expanded bounds of the expandedNode.
layoutin ArrowNodeStyleRendererGets the layout of the node this renderer is currently configured for.
layoutin BevelNodeStyleRendererGets the layout of the node this renderer is currently configured for.
layoutin CollapsibleNodeStyleDecoratorRendererGets the layout of the node this renderer is currently configured for.
layoutin GeneralPathNodeStyleRendererGets the layout of the node this renderer is currently configured for.
layoutin GroupNodeStyleRendererGets the layout of the node this renderer is currently configured for.
layoutin ImageNodeStyleRendererGets the layout of the node this renderer is currently configured for.
layoutin PanelNodeStyleRendererGets the layout of the node this renderer is currently configured for.
layoutin RectangleNodeStyleRendererGets the layout of the node this renderer is currently configured for.
layoutin ShapeNodeStyleRendererGets the layout of the node this renderer is currently configured for.
layoutin ShinyPlateNodeStyleRendererGets the layout of the node this renderer is currently configured for.
layoutin TemplateNodeStyleRendererGets the layout of the node this renderer is currently configured for.
layoutin TemplateStripeStyleRendererGets the layout of the stripe this renderer is currently configured for.

Method Return Values

createEdgePortLayout (IPort)in LayoutExecutorAsyncCallback factory method that creates the IRectangle for the given IPort that is used as a dummy to represent the port at the IEdge that owns port.
getRectangle (Object)in RectangleIndicatorInstallerFactory method that returns an IRectangle for a given user object.

Method Parameters

appendEllipse (IRectangle, boolean)in GeneralPathAppends an ellipse using the given bounding box to this instance.
appendRectangle (IRectangle, boolean)in GeneralPathAppends a rectangle to this path instance.
add (IRectangle)in IMutableRectangleAdds a rectangle to another one.
reshape (IRectangle)in IMutableRectangleApplies a new position and size to a given mutable rectangle.
setToUnion (IRectangle, IRectangle)in IMutableRectangleCreates the union of two rectangles, placing the result in the this parameter.
MutableRectangle (IRectangle)in MutableRectangleCreates a new instance initialized to the values of the provided argument.
OrientedRectangle (IRectangle)in OrientedRectangleCreates a new instance using the provided rectangle to initialize the anchor and size.
Rect (IRectangle)in RectInitializes a new instance of the Rect class with the initial values obtained from the given rectangle.
SimpleNode ()in SimpleNodeCreates a default node with default lookup, an instance of VoidNodeStyle, empty layout and no labels or ports.
HierarchicLayoutData ()in HierarchicLayoutDataCreates a new instance of HierarchicLayoutData which helps configuring HierarchicLayout.
create ()in IReshapeHandlerCreates an implementation of the interface IReshapeHandler from the given definition.
fromRectangle (IRectangle)in LassoTestablesCreates an implementation of the ILassoTestable interface that tests if the rectangle intersects the area of the lasso path.
NodeSizeConstraintProvider (ISize, ISize, IRectangle?)in NodeSizeConstraintProviderCreates a new instance using the provided size instances as the initial values.
ReshapeRectangleContext (Rect, ISize, ISize, IRectangle, IRectangle, HandlePositions, Point, Point, Size, ReshapePolicy, number)in ReshapeRectangleContextInitializes a new instance of the ReshapeRectangleContext class.
createResizeSnapResult (number, Point, Object, IEnumerable<IRectangle>, number, boolean)in SnapResultFactory method that creates a SnapResult which snaps to a given size through a resize operation.
ClearAreaLayoutData ()in ClearAreaLayoutDataCreates a new instance of ClearAreaLayoutData.
setLayout (HTMLElement, IRectangle)in HtmlVisualSets the translation and size values of a given HtmlElement to the provided values so that it works well inside an HtmlVisual in a CanvasComponent.
createGraphAnimation (IGraph, IMapper<INode,IRectangle>?, IMapper<IEdge,yfiles.geometry.IPoint[]>?, IMapper<IPort,IPortLocationModelParameter>?, IMapper<ILabel,ILabelModelParameter>?, TimeSpan?)in IAnimationCreates a new IAnimation that animates the given layout of all types of graph items.
createNodeAnimation (IGraph, INode, IRectangle, TimeSpan)in IAnimationCreates a new IAnimation that animates the given node from its current layout to the new given targetLayout.
fromRectangle (IRectangle)in IBoundsProviderCreates an instance that returns the given rectangle as the bounds.
RectangleIndicatorInstaller (IRectangle, string?)in RectangleIndicatorInstallerInitializes a new instance of the RectangleIndicatorInstaller class with fixed bounds and a string.

Implementing Types

IMutableRectangleInterface for mutable rectangles aligned to the axes in 2D coordinate space with double precision coordinates.
RectRepresents an axis-aligned rectangle in two-dimensional Cartesian coordinates with double precision.