NPlot Documented Class Library

LegendBase.GetBoundingBox Method 

[This is preliminary documentation and subject to change.]

Get the bounding box of the rectangle.

public Rectangle GetBoundingBox(
   Point position,
   ArrayList plots,
   float scale
);

Parameters

position
the position of the top left of the legend.
plots
Array of plot objects to appear in the legend.
scale
if the legend is set to scale, the amount to scale by.

Return Value

Remarks

do implementation that doesn't call draw. Change xPos, yPos to PointF

See Also

LegendBase Class | NPlot Namespace