We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5758ce commit be1a26fCopy full SHA for be1a26f
src/modules/elements/ElementText.ts
@@ -246,6 +246,14 @@ export default class ElementText extends ElementRect implements IElementText {
246
return (this.model.data as ITextData).lines.filter(line => line.isTailBreak).length;
247
}
248
249
+ get alignCoords(): IPoint[] {
250
+ return CommonUtils.getBoxByPoints([...super.alignCoords, ...this._getTextRotateRenderCoords()]);
251
+ }
252
+
253
+ get alignOutlineCoords(): IPoint[][] {
254
+ return [CommonUtils.getBoxByPoints([...super.alignOutlineCoords.flat(), ...this._getTextRotateRenderCoords()])];
255
256
257
constructor(model: ElementObject, shield: IStageShield) {
258
super(model, shield);
259
this._undoRedo = new UndoRedo();
0 commit comments