Path.getBounds

Replaces the first four elements in the parameter with values that describe the smallest rectangle that will completely contain the receiver (i.e. the bounding box).

@param bounds the array to hold the result

@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the parameter is null</li> <li>ERROR_INVALID_ARGUMENT - if the parameter is too small to hold the bounding box</li> </ul> @exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>

class Path
void
getBounds
(
float[] bounds
)

Meta