Graphics.getDevicePoint

Overview | Methods | This Package | All Packages

Graphics.getDevicePoint

Converts the specified coordinates to device coordinates.

Syntax

public final Point getDevicePoint( Point pt )

public final Point getDevicePoint( int x, int y )

Parameters

pt

A Point object that specifies the point for which to retrieve the device coordinates.

x

The logical x-coordinate for which to retrieve device coordinates.

y

The logical y-coordinate for which to retrieve device coordinates.

Return Value

Returns a Point object that contains the device coordinates for the specified point.