svg-layout-designer-react/docs/Hardcoded.md
2022-08-16 17:45:52 +02:00

549 B

Here you will find the documentation of desastrous stuff that I made

XPositionReference

XPositionReference is used as a fake horizontal offset indicator.

The truth is that the svg will always take the left for its transformations and the best for us is to do the same.

That's why everything that is shown to the user about XPositionReference is an illusion. Like for example:

  • The inputs, see PropertiesOperations.ts, StaticForm, DynamicForm.
  • Child dimensions, see Container.ts.

Look for use of transformX() and restoreX().