partial void Apply(bool isSizeChanged, bool isOriginChanged)
        {
            if (isSizeChanged)
            {
                // As we use the 'transform-origin', the transform matrix is independent of the size of the control
            }
            else if (isOriginChanged)
            {
                // Note: On WASM Transform are applied by default on the center on the view

                FormattableString nativeOrigin = $"{(int)(CurrentOrigin.X * 100)}% {(int)(CurrentOrigin.Y * 100)}%";
                Owner.SetStyle("transform-origin", nativeOrigin.ToStringInvariant());

                return;
            }
            else
            {
                Owner.SetNativeTransform(Transform.MatrixCore);
            }
        }