documentationfor yFiles for HTML 2.6

Usages of ISize

Properties

sizein MutableRectangleGets the size of this rectangle.
sizein 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 GivenCoordinatesStageDataGets or sets the mapping from nodes to their sizes.
affectedNodesSizesin PlaceNodesAtBarycenterStageDataGets or sets the mapping from the affected nodes to their sizes.

Method Parameters

reshape (IPoint, ISize)in IMutableRectangleApplies a new position and size to a given mutable rectangle.
resize (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.
GivenCoordinatesStageData ()in GivenCoordinatesStageDataCreates a new instance of GivenCoordinatesStageData which helps configuring GivenCoordinatesStage.
PlaceNodesAtBarycenterStageData ()in PlaceNodesAtBarycenterStageDataCreates a new instance of PlaceNodesAtBarycenterStageData which helps configuring PlaceNodesAtBarycenterStage.

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.