ParsePolygon

Implements \Parse\Internal\Encodable

ParsePolygon - Representation of a Parse Polygon object.

author

Diamond Lewis [email protected]

package

Parse

Methods

Create a Parse Polygon object.

__construct(array $coords) 

Arguments

$coords

array

GeoPoints or Coordinates.

Encode to associative array representation.

_encode() : array

Response

array

Returns the Coordinates value for this Polygon.

getCoordinates() : array

Response

array

Set the Coordinates value for this Polygon.

setCoordinates(array $coords) 
Throws
\Parse\ParseException

Arguments

$coords

array

GeoPoints or Coordinates.

Properties

The coordinates.

coordinates : array
var

Type(s)

array