Metafile.getRenderedSize

Overview | Methods | This Package | All Packages

Metafile.getRenderedSize

Retrieves the size of the image, in logical units, for the specified Graphics object.

Syntax

public final Point getRenderedSize( Graphics g )

Parameters

g

The Graphics object to use when converting the size of the metafile to logical units.

Return Value

Returns a Point object that specifies, in logical units, the dimensions of the metafile for the specified Graphics object.