Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

Graphics.getDevicePoint

Converts the specified coordinates to device coordinates.

Syntax

public final Point getDevicePoint( Pointpt )

public final Point getDevicePoint( intx, inty**)**

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.