Google.Maps.Feature.Shape.Line

A geometric representation of a 2D path on a map.

Summary

Constructors and Destructors

Line(ICollection< Vector2 > vertices, int zOrder)
The Line class constructor.

Public attributes

Vertices
readonly Vector2[]
The vertices that make up the Line.
ZOrder
readonly int
The z-ordering of the line. Lines with a higher z-order are rendered above lines with a lower z-order.

Public attributes

Vertices

readonly Vector2[] Vertices

The vertices that make up the Line.

ZOrder

readonly int ZOrder

The z-ordering of the line. Lines with a higher z-order are rendered above lines with a lower z-order.

Public functions

Line

 Line(
  ICollection< Vector2 > vertices,
  int zOrder
)

The Line class constructor.

Legacy constructor to support client code that predates addition of integer vertices.

Details
Parameters
vertices
Collection of Vector2s that make up the segment.
zOrder
Z-order of the line.