Click or drag to resize
RadRectToSquare Method
Gets a rectangle that has equal width and height and is centered within the specified rect.

Namespace: Telerik.Charting
Assembly: Telerik.WinControls.ChartView (in Telerik.WinControls.ChartView.dll) Version: 2018.3.1016.40 (2018.3.1016.40)
Syntax
public static RadRect ToSquare(
	RadRect rect,
	bool offset
)

Parameters

rect
Type: Telerik.ChartingRadRect
offset
Type: SystemBoolean

Return Value

Type: RadRect
See Also