RectanglePacker..::..Pack Method

Tries to allocate space for a rectangle in the packing area

Namespace:  Squid
Assembly:  Squid.Core (in Squid.Core.dll)

Syntax


public Point Pack(
	int rectangleWidth,
	int rectangleHeight
)
Public Function Pack ( _
	rectangleWidth As Integer, _
	rectangleHeight As Integer _
) As Point
public:
Point^ Pack(
	int^ rectangleWidth, 
	int^ rectangleHeight
)

Parameters

rectangleWidth
Type: Int32
Width of the rectangle to allocate
rectangleHeight
Type: Int32
Height of the rectangle to allocate

Return Value

True if space for the rectangle could be allocated