API Reference
@univerjs
@univerjs/engine-render
functions
Calculaterectrotate

@univerjs/engine-render v0.4.2Docs


Function: calculateRectRotate()

function calculateRectRotate(
   startPoint, 
   centerPoint, 
   radiusCenter, 
   radiusVertex, 
   offsetPoint): Vector2

Parameters

ParameterType
startPointVector2
centerPointVector2
radiusCenternumber
radiusVertexnumber
offsetPointVector2

Returns

Vector2

Defined in

submodules/univer/packages/engine-render/src/basics/draw.ts:242 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.