require(["esri/geometry/ScreenPoint"], function(ScreenPoint) { /* code goes here */ });
Class: esri/geometry/ScreenPoint
Inheritance: ScreenPoint Accessor
Since: ArcGIS API for JavaScript 4.0

ScreenPoint represents a point in terms of pixels relative to the top-left corner of the view.

See also:

Constructors

new ScreenPoint(properties)

Parameter:
properties Object
optional

See the properties for a list of all the properties that may be passed into the constructor.

Property Overview

Any properties can be set, retrieved or listened to. See the Working with Properties topic.
NameTypeSummary
String

The name of the class.

more details
more details
Number

X-coordinate in pixels relative to the top-left corner of the view.

more details
more details
Number

Y-coordinate in pixels relative to the top-left corner of the view.

more details
more details

Property Details

declaredClassStringreadonly

The name of the class. The declared class name is formatted as esri.folder.className.

X-coordinate in pixels relative to the top-left corner of the view.

Y-coordinate in pixels relative to the top-left corner of the view.

API Reference search results

NameTypeModule

There were no match results from your search criteria.