TiledSharp  0.9.1 r0
A .NET C# library for importing Tiled TMX tile maps
 All Classes Namespaces Files Functions Variables Enumerations Properties Pages
Public Member Functions | Properties | List of all members
TiledSharp.TmxObjectGroup.TmxObject Class Reference

Map object element. More...

Inheritance diagram for TiledSharp.TmxObjectGroup.TmxObject:
TiledSharp.ITmxElement

Public Member Functions

 TmxObject (XElement xObject)
 Object constructor.
 
List< Tuple< int, int > > ParsePoints (XElement xPoints)
 Parse vertex point string into (X,Y) coordinate pairs.
 

Properties

string Name [get, set]
 Object name.
 
TmxObjectType ObjectType [get, set]
 Tiled object type.
 
string Type [get, set]
 User-defined object type.
 
int X [get, set]
 X (rightward) object position in pixels.
 
int Y [get, set]
 Y (downward) object position in pixels.
 
int Width [get, set]
 Object width in pixels.
 
int Height [get, set]
 Object height in pixels.
 
double Rotation [get, set]
 Clockwise rotation of object in degrees.
 
TmxLayerTile Tile [get, set]
 Object tile reference.
 
bool Visible [get, set]
 True if object is visible.
 
List< Tuple< int, int > > Points [get, set]
 List of (X,Y) object vertices in pixels.
 
PropertyDict Properties [get, set]
 User-defined object properties.
 
- Properties inherited from TiledSharp.ITmxElement
string Name [get]
 Layer or element name.
 

Detailed Description

Map object element.

Definition at line 35 of file ObjectGroup.cs.


The documentation for this class was generated from the following files: