Graphics.getLogicalPoint

Overview | Methods | This Package | All Packages

Graphics.getLogicalPoint

Converts the specified point to logical coordinates.

Syntax

public final Point getLogicalPoint( Point pt )

public final Point getLogicalPoint( int x, int y )

Parameters

pt

A Point object that specifies the point to convert to logical coordinates.

x

The device x-coordinate of the point to convert.

y

The device y-coordinate of the point to convert.

Return Value

Returns a Point object that contains the logical coordinate.