1
This commit is contained in:
@@ -309,8 +309,8 @@ const RadarChartV2 = forwardRef<RadarChartV2Ref, RadarChartV2Props>((props, ref)
|
|||||||
ctx.restore();
|
ctx.restore();
|
||||||
|
|
||||||
// 绘制装饰图片(DocCopy)- 在头像右侧
|
// 绘制装饰图片(DocCopy)- 在头像右侧
|
||||||
const addonSize = 48 * scale; // 设计稿装饰图片尺寸
|
const addonSize = 42 * scale; // 装饰图片和头像一样大
|
||||||
const addonX = avatarX + avatarSize - 10 * scale; // 重叠部分
|
const addonX = avatarX + avatarSize - 5 * scale; // 重叠部分
|
||||||
const addonY = avatarY;
|
const addonY = avatarY;
|
||||||
const addonRotation = 8 * (Math.PI / 180); // 旋转 8 度
|
const addonRotation = 8 * (Math.PI / 180); // 旋转 8 度
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user