PolylineObject

Describes a polyline object for things like Vectoral Tile Layer.

Constructors

this
this(int pID, int gID, string name, Point[] path)
Undocumented in source.
this
this(Tag t, int gID)
Undocumented in source.

Members

Functions

color
Color color(Color c, int num)

Sets the color to 'c' for the polyline object's given segment indicated by 'num'.

color
Color color(int num)

Returns the color for the polyline object's given segment indicated by 'num'.

serialize
Tag serialize()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

path
Point[] path;

The points of the object's path.

Inherited Members

From MapObject

MapObjectType
enum MapObjectType

Enumerator used for differentiating between multiple kinds of objects. The value serialized as a string as the name of a tag.

MapObjectFlags
enum MapObjectFlags

Defines various flags for objects

pID
int pID;

priority identifier

gID
int gID;

group identifier (equals with layer number)

name
string name;

name of object

_type
MapObjectType _type;

type of the object

flags
BitFlags!MapObjectFlags flags;

Contains property flags

mainTag
Tag mainTag;

Tag that holds the data related to this mapobject + ancillary tags

type
MapObjectType type [@property getter]

Returns the type of this object

serialize
Tag serialize()

Serializes the object into an SDL tag

opEquals
bool opEquals(MapObject rhs)

Checks if two objects have the same identifier.

Meta