documentationfor yFiles for HTML 3.0.0.3

Usages of ISize

Properties

dynamicSizein MutableRectangleGets the size of this rectangle.
dynamicSizein OrientedRectangleGets or sets the size of this rectangle.
maximumSizein NodeReshapeHandleProviderGets or sets the maximum size allowed for the reshapeable.
minimumSizein NodeReshapeHandleProviderGets or sets the minimum size allowed for the reshapeable.
maximumSizein NodeReshapeHandlerHandleGets or sets the maximum size allowed for the reshapeable.
minimumSizein NodeReshapeHandlerHandleGets or sets the minimum size allowed for the reshapeable.
maximumSizein NodeSizeConstraintProviderGets or sets the instance to return by getMaximumSize.
minimumSizein NodeSizeConstraintProviderGets or sets the instance to return by getMinimumSize.
maximumSizein RectangleHandleGets or sets the maximum size allowed for the rectangle.
minimumSizein RectangleHandleGets or sets the minimum size allowed for the rectangle.
maximumSizein ReshapeHandleProviderBaseGets or sets the maximum size allowed for the reshapeable.
minimumSizein ReshapeHandleProviderBaseGets or sets the minimum size allowed for the reshapeable.
maximumSizein ReshapeHandlerHandleGets or sets the maximum size allowed for the reshapeable.
minimumSizein ReshapeHandlerHandleGets or sets the minimum size allowed for the reshapeable.
maximumSizein ReshapeRectangleContextGets or sets the maximum size of the node.
minimumSizein ReshapeRectangleContextGets the minimum size of the node.
nodeSizesin GivenCoordinatesLayoutDataGets or sets the mapping from nodes to their sizes.
affectedNodesSizesin PlaceNodesAtBarycenterStageDataGets or sets the mapping from the affected nodes to their sizes.

Fields

NODE_SIZE_DATA_KEYin GivenCoordinatesLayoutA data key for specifying the size of nodes.
AFFECTED_NODES_SIZE_DATA_KEYin PlaceNodesAtBarycenterStageA data key for specifying the size of affected nodes.

Method Parameters

setShape (IPoint, ISize)in IMutableRectangleApplies a new position and size to a given mutable rectangle.
setSize (ISize)in IMutableSizeSets the coordinates of the size to the given values.
MutableSize (ISize)in MutableSizeCreates an instance using the values provided by the size instance.
fromCenter (IPoint, ISize)in RectCreates a new instance given the center of the rectangle and its size.
NodeSizeConstraintProvider (ISize, ISize, IRectangle?)in NodeSizeConstraintProviderCreates a new instance using the provided size instances as the initial values.
ReshapeHandlerHandle (HandlePositions, IReshapeHandler, ISize?, ISize?)in ReshapeHandlerHandleSubclass constructor that creates a handle for the given position using the location instance as the location for the handle.
ReshapeRectangleContext (Rect, ISize, ISize, IRectangle, IRectangle, HandlePositions, Point, Point, Size, ReshapePolicy, number)in ReshapeRectangleContextInitializes a new instance of the ReshapeRectangleContext class.
GivenCoordinatesLayoutData ()in GivenCoordinatesLayoutDataCreates a new instance of GivenCoordinatesLayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> which helps to configure GivenCoordinatesLayout.
PlaceNodesAtBarycenterStageData ()in PlaceNodesAtBarycenterStageData

Implementing Types

IMutableSizeInterface for a mutable size in 2D coordinate space with double precision width and height.
IOrientedRectangleInterface for oriented rectangles in 2D coordinate space with double precision coordinates.
IRectangleInterface for rectangles aligned to the axes in 2D coordinate space with double precision coordinates.
SizeRepresents the size of a rectangular object with a given width and height.