Google.Maps.Feature.Shape.LineGroup

Represents a collection of Shape.Lines used to represent a 2D path on a map, such as a road, train line or ferry route.

Summary

Inheritance

Inherits from: Google.Maps.Feature.Shape.MapFeatureShape

Constructors and Destructors

LineGroup(ICollection< Line > lines)
Constructor.

Public attributes

Lines
readonly List< Line >
The Lines that make up the LineGroup.

Protected functions

CalculateLocalBoundingBox()
virtual override Bounds
Calculates and returns a local bounding box for all of the geometry represented by this object. The bounding box is located relative to the Shape's origin, which means that the center of it might not be at (0, 0) if the Origin is not at the center of all of the vertices.
TranslateGeometry(Vector2 offset)
virtual override void
Translates the geometry by the supplied offset. This does not change the position of the Origin.
Parameters
offset
An offset vector used for translation.

Public attributes

Lines

readonly List< Line > Lines

The Lines that make up the LineGroup.

Public functions

LineGroup

 LineGroup(
  ICollection< Line > lines
)

Constructor.

Details
Parameters
lines
Collection of Lines that make up the LineGroup.

Protected functions

CalculateLocalBoundingBox

virtual override Bounds CalculateLocalBoundingBox()

Calculates and returns a local bounding box for all of the geometry represented by this object. The bounding box is located relative to the Shape's origin, which means that the center of it might not be at (0, 0) if the Origin is not at the center of all of the vertices.

TranslateGeometry

virtual override void TranslateGeometry(
  Vector2 offset
)

Translates the geometry by the supplied offset. This does not change the position of the Origin. Parameters

offset
An offset vector used for translation.

Send feedback about...

Google Maps Platform gaming solution
Google Maps Platform gaming solution