documentationfor yFiles for HTML 3.0.0.3

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 HierarchicalLayoutDataGets 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.
selectionRectanglein MarqueeRenderTagGets the current marquee selection rectangle in view or world coordinates.
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.
viewportRectangleRendererin OverviewInputModeGets or sets the IObjectRenderer<IRectangle> that visualizes the viewport rectangle.
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 rectangle the node's layout may fill.
minimumEnclosedAreain ReshapeRectangleContextGets the minimum area the node's layout needs to encompass.
boundsin TableReshapeHandler
nodeEndLayoutin LayoutExecutorAsyncGets a mapping from nodes in the LayoutGraph to their new layout, after the results are in.
expandedNodeOriginalBoundsin ClearAreaLayoutDataGets or sets the original, non-expanded bounds of the expandedNode.

Fields

ALTERNATIVE_GROUP_BOUNDS_DATA_KEYin HierarchicalLayoutA data key for associating an alternative bounds with the collapsed/expanded group.

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.

Method Parameters

appendEllipse (IRectangle, boolean)in GeneralPathAppends an ellipse using the given bounds to this instance.
appendRectangle (IRectangle, boolean)in GeneralPathAppends a rectangle to this path instance.
pathIntersects (IRectangle, number?)in GeneralPathChecks whether this path intersects the given rectangle.
pathMayIntersectClip (IRectangle, number)in GeneralPathPerforms a quick test to decide whether this path might intersect the clipping rectangle, provided the path would be rendered using a stroke of the given width.
add (IRectangle)in IMutableRectangleAdds a rectangle to another one.
setShape (IRectangle)in IMutableRectangleApplies a new position and size to a given mutable rectangle.
containsRectangle (IRectangle, number?)in IRectangleDetermines whether the given rectangle contains the provided rectangle.
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.
SimpleNode ()in SimpleNodeCreates a default node with default lookup, VOID_NODE_STYLE as style, an empty layout, and no labels nor ports.
HierarchicalLayoutData ()in HierarchicalLayoutData
fromRectangle (IRectangle)in ILassoTestableCreates an implementation of the ILassoTestable interface that tests if the rectangle intersects the area of the lasso path.
create ()in IReshapeHandler
NodeSizeConstraintProvider (ISize, ISize, IRectangle?)in NodeSizeConstraintProviderCreates a new instance using the provided size instances as the initial values.
OverviewInputMode ()in OverviewInputModeCreates a new instance.
ReshapeRectangleContext (Rect, ISize, ISize, IRectangle, IRectangle, HandlePositions, Point, Point, Size, ReshapePolicy, number)in ReshapeRectangleContextInitializes a new instance of the ReshapeRectangleContext class.
ClearAreaLayoutData ()in 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.

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.