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

@univerjs/engine-render v0.4.2Docs


Function: convertTextRotation()

function convertTextRotation(textRotation?): {
  centerAngle: number;
  vertexAngle: number;
}

Parameters

ParameterType
textRotation?ITextRotation

Returns

{
  centerAngle: number;
  vertexAngle: number;
}
NameTypeDefined in
centerAnglenumbersubmodules/univer/packages/engine-render/src/basics/text-rotation.ts:30 (opens in a new tab)
vertexAnglenumbersubmodules/univer/packages/engine-render/src/basics/text-rotation.ts:30 (opens in a new tab)

Defined in

submodules/univer/packages/engine-render/src/basics/text-rotation.ts:21 (opens in a new tab)


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