TopoJsonTransform Class

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

NameDescription
TopoJsonTransform(x_translate, y_translate, x_scale, y_scale)Create new instance of TopoJsonTransform.

Properties

NameTypeAccessDescription
x_scaledoubler/wScale to apply to X coordinate.
x_translatedoubler/wTranslate to apply to X coordinate.
y_scaledoubler/wScale to apply to Y coordinate.
y_translatedoubler/wTranslate 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:

ParameterTypeDescription
x_translatedoubleTranslate to apply to X coordinate.
y_translatedoubleTranslate to apply to Y coordinate.
x_scaledoubleScale to apply to X coordinate.
y_scaledoubleScale to apply to Y coordinate.