Skip To Content ArcGIS for Developers Sign In Dashboard

PointBuilder QML Type

Helper type for building immutable Point geometries. More...

Import Statement: import Esri.ArcGISRuntime 100.6
Since: Esri.ArcGISRuntime 100.0
Inherits:

GeometryBuilder

Properties

  • m : double
  • x : double
  • y : double
  • z : double

Signals

Methods

Detailed Description

Points are the most straightforward geometries to define, and therefore the Point type and this builder have the same properties. This builder type is provided mainly for consistency with other immutable geometries.

The spatial reference must be set before using the builder and cannot be changed after the builder contains points.

This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.

TypeDefault Property
SpatialReferencespatialReference

Property Documentation

m : double

The m-value.


x : double

The x-coordinate.


y : double

The y-coordinate.


z : double

The z-coordinate.


Signal Documentation

geometryChanged()

Emitted when any of the properties of this Point changes.


mChanged()

Emitted when the m property of this Point changes.


xChanged()

Emitted when the x property of this Point changes.


yChanged()

Emitted when the y property of this Point changes.


zChanged()

Emitted when the z property of this Point changes.


Method Documentation

void offsetBy(double offsetX, double offsetY)

Move the builder's geometry in the x/y plane.

Returns this PointBuilder so you can easily chain method calls.

  • offsetX - The offset along x-axis (negative value moves the point west).
  • offsetY - The offset along y-axis (negative value moves the point south).

void setXY(double x, double y)

Sets the x,y-coordinates of the point.

  • x - The x-coordinate.
  • y - The y-coordinate.

string toText()

Returns a string representing this point.

The string has this format: Point(<x-coordinate>, <y-coordinate>, <z-coordinate>, <m-value>) WKID: <wkid-value>

Z-coordinates and m-values are omitted if not present, along with their leading commas.



Feedback on this topic?