A class that converts coordinates in the yFiles coordinate space (origin is top left, y-axis goes down) to the VSDX coordinate space (origin is bottom left, y-axis goes up).
Inheritance Hierarchy
Members
No filters for this type
Methods
Static Methods
Creates a new CoordinateConverter instance that is valid for the given page,
sourceBounds, and targetBounds.
Creates a new CoordinateConverter instance that is valid for the given page, sourceBounds, and targetBounds.
In order to retrieve an instance equivalent to
MasterProviderContext.coordinateConverter or
ShapeProcessingContext.coordinateConverter, pass the GraphComponent's
GraphComponent.contentRect as sourceBounds and use the same
targetBounds as in VsdxIO.addGraph, reduced by
VsdxExportConfiguration.margins (in inches, 1 inch = 96 pixels).
static