Table of Contents

Class PolygonObject

Namespace
DotTiled
Assembly
DotTiled.dll

A polygon object in a map. The existing X and Y properties are used as the origin of the polygon.

public class PolygonObject : Object, IHasProperties
Inheritance
PolygonObject
Implements
Inherited Members

Properties

Points

The points that make up the polygon. X and Y are used as the origin of the polygon.

public required List<Vector2> Points { get; set; }

Property Value

List<Vector2>