Class ColorProperty
- Namespace
- DotTiled
- Assembly
- DotTiled.dll
Represents a color property.
public class ColorProperty : IProperty<Color>, IProperty
- Inheritance
-
ColorProperty
- Implements
- Inherited Members
Properties
Name
The name of the property.
public required string Name { get; set; }
Property Value
Type
The type of the property.
public PropertyType Type { get; }
Property Value
Value
The color value of the property.
public required Color Value { get; set; }
Property Value
Methods
Clone()
Clones the property, only used for copying properties when performing overriding with templates.
public IProperty Clone()
Returns
- IProperty
An identical, but non-reference-equal, instance of the same property.