Skip to main content
Version: Next

getResizedSimpleShapeFromCorner

Callable

  • getResizedSimpleShapeFromCorner(input: SimpleShapeCornerResizeInput): SimpleShapePointEditResult

  • Computes simple-shape geometry after resizing from a corner handle.

    The opposite corner remains fixed while the dragged anchor defines the new box extent in the shape's local coordinate system.


    Parameters

    • input: SimpleShapeCornerResizeInput

      Resize inputs including region type, anchors, rotation, and text scale.

    Returns SimpleShapePointEditResult

    Updated center and size for the resized shape.