Skip to content

PROTOCOL

IPSPolygonalShape

@objc public protocol IPSPolygonalShape: IPSShape

This class contains the representation of data specific to a polygonal shape. Data which is common to all shapes is contained in IPSShape.

Properties

points

var points: [IPSCoordinate]

The list of coordinates that comprise the polygon.

topRight

var topRight: IPSCoordinate

The coordinate of the top right corner of the proximity trigger's region on the map.

bottomLeft

var bottomLeft: IPSCoordinate

The coordinate of the bottom left corner of the proximity trigger's region on the map.