Point.asRenderProps()

The Point.asRenderProps() method will return the data stored in the point as a serializable JavaScript object. This method is typically not invoked directly but rather called under the hood as a result of calling Pattern.getRenderProps().

Signature

Javascript
Object point.asRenderProps()

Returned object properties

This returns JavaScript object has the following properties:

NameDescription
attributesThe result of Path.attributes.asRenderProps()
xA number indicating the X-Coordinate of the point
yA number indicating the Y-Coordinate of the point