문제

I have a canvas with a RenderTransform applied like so:

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

Can anyone tell me what these values mean? I can't seem to find what converter is being used to parse these values.

도움이 되었습니까?

해결책

As the RenderTransform is a Transform it probably uses the TransformConverter which in turn probably creates a MatrixTransform; from its documentation:

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

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

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

For more information, see the XAML Attribute Usage section of the MatrixTransform class page.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top