In perspective, how to use System.gui.transform ,or something can take place of this?

You won't be able to use this in Perspective, as the function is only scoped for Vision Client. See here under Scope:

If you can please provide some more information on what you are trying to achieve, we might be able to give you some pointers.

1 Like

In perspective this functionality is generally accomplished using CSS animations.

Provide information on what you are trying to accomplish and I’m sure someone can help you out.

1 Like


There is a cross shuttle, I want to make the comment RT_PCT move according to the ActPos

Use the View Canvas component and set up duration to automatically smoothly animate between states.

1 Like

So many ways you could do it; View Cavnas (as above), CSS, SVG.

SVG
If the graphic is an embedded SVG and you don't mind about transitions (i.e.it moves in small increments), you could bind to the x-coordinate or use a translate transform on the SVG text element:

image

It is also easy to dynamically bind to attributes of other elements too; fill, stroke, size etc.)

CSS
Take a look at the animated style classes too; heaps you can do with that as well:


l

1 Like

thanks a lot

thank you very much!