TopoJsonTransform Class
Contents
[
Hide
]Summary: A transform object that can be used in order to quantize coordinates when writing a TopoJSON file.
Module: aspose.gis.formats.topojson
Full Name: aspose.gis.formats.topojson.TopoJsonTransform
Aspose.PSD Version: 25.9.0
Constructors
| Name | Description |
|---|---|
| TopoJsonTransform(x_translate, y_translate, x_scale, y_scale) | Create new instance of TopoJsonTransform. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| x_scale | double | r/w | Scale to apply to X coordinate. |
| x_translate | double | r/w | Translate to apply to X coordinate. |
| y_scale | double | r/w | Scale to apply to Y coordinate. |
| y_translate | double | r/w | Translate to apply to Y coordinate. |
Constructor: TopoJsonTransform(x_translate, y_translate, x_scale, y_scale)
TopoJsonTransform(x_translate, y_translate, x_scale, y_scale)
Create new instance of TopoJsonTransform.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| x_translate | double | Translate to apply to X coordinate. |
| y_translate | double | Translate to apply to Y coordinate. |
| x_scale | double | Scale to apply to X coordinate. |
| y_scale | double | Scale to apply to Y coordinate. |