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.
NameTypeSummaryClass
String

The name of the class.

more details
more detailsAccessor
Number

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

more details
more detailsScreenPoint
Number

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

more details
more detailsScreenPoint

Property Details

declaredClassStringreadonly inherited

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.