Svg center of rotation

<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="473" height="190"> <polygon index="0" points="138,100 163,125 138,150 113,125" transform-origin="50% 50%" transform="translate(10, 0) scale(1.2, 1) rotate(30)" style="fill:-sharpff9d4a;stroke:-sharp000 ;stroke-width:2;transform-origin: 50% 50%"></polygon> </svg>

Why is origin set or not rotated in the center?
I generated a SVG string like this when JAVA generated svg images, and then found that the center of rotation is not right, how to fix it?

Jun.28,2021

do not use origin , there is a problem with safari

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3a464-2ba52.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3a464-2ba52.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?