Default RenderTransform Converter Syntax

I have a canvas with RenderTransform that applies like this:

<Canvas RenderTransform="0.1,0,0,-0.1,0,913"> 

Can someone tell me what these meanings mean? It seems I can’t find which converter is used to analyze these values.

+4
source share
1 answer

Since RenderTransform is a Transform , it probably uses a TransformConverter , which probably creates a MatrixTransform ; from his documentation:

 <object property="m11, m12, m21, m22, offsetX, offsetY"/> 

I unreasonably went ahead and checked the code, the converter calls Transform.Parse :

Creates a new Transform from the specified string representation of the transformation matrix.

For more information, see Using the XAML Attribute on the MatrixTransform Class Page .

+7
source

Source: https://habr.com/ru/post/1433471/


All Articles