Class ShapeSpatialData
Represents the spatial data of a shape.
Inheritance
System.Object
ShapeSpatialData
Namespace: FastReport.Map
Assembly: FastReport.dll
Syntax
[TypeConverter(typeof(ShapeSpatialDataConverter))]
public class ShapeSpatialData
Constructors
ShapeSpatialData()
Creates a new instance of the ShapeSpatialData class.
Declaration
public ShapeSpatialData()
Methods
Assign(ShapeSpatialData)
Copies contents from another spatial data object.
Declaration
public void Assign(ShapeSpatialData src)
Parameters
Type | Name | Description |
---|---|---|
ShapeSpatialData | src | The object to copy contents from. |
GetKeys()
Gets a list of keys.
Declaration
public List<string> GetKeys()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | The list of keys. |
GetValue(String)
Gets a value by its key.
Declaration
public string GetValue(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key of value. |
Returns
Type | Description |
---|---|
System.String | The value. |
IsEqual(ShapeSpatialData)
Compares two spatial data objects.
Declaration
public bool IsEqual(ShapeSpatialData src)
Parameters
Type | Name | Description |
---|---|---|
ShapeSpatialData | src | The spatial object to compare with. |
Returns
Type | Description |
---|---|
System.Boolean | true if spatial objects are identical. |
SetValue(String, String)
Sets a value by its key.
Declaration
public void SetValue(string key, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key of value. |
System.String | value | The value. |