Coral 0.2.17 candidate API
    Preparing search index...

    Function computeTextBox

    • The centered rectangle in which a shape can safely render its label.

      Parameters

      • width: number
      • height: number
      • sizing: StencilLabelSizing028
      • OptionalshapeId: string
      • Optionalcontext: StencilCaptionContext0210

      Returns { height: number; width: number; x: number; y: number }