Click or drag to resize

mxUtilsGetScaledLabelBounds Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Returns the bounds for a label for the given location and size, taking into account the alignment and spacing in the specified style, as well as the width and height of the rectangle that contains the label. (For edge labels this width and height is 0.) The scale is used to scale the given size and the spacings in the specified style.

Namespace:  imbSCI.Graph.MXGraph.utils
Assembly:  imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntax
C#
public static mxRectangle GetScaledLabelBounds(
	double x,
	double y,
	mxRectangle size,
	double outerWidth,
	double outerHeight,
	Dictionary<string, Object> style,
	double scale
)
Request Example View Source

Parameters

x
Type: SystemDouble
y
Type: SystemDouble
size
Type: imbSCI.Graph.MXGraph.utilsmxRectangle
outerWidth
Type: SystemDouble
outerHeight
Type: SystemDouble
style
Type: System.Collections.GenericDictionaryString, Object
scale
Type: SystemDouble

Return Value

Type: mxRectangle
See Also