Type alias Span

Span: {
    baseline?: number;
    rect: Rect;
    style: TextStyle;
    text: string;
    type: "span";
}

Type declaration

  • Optional baseline?: number

    represents the baseline of the first line of the span

  • rect: Rect
  • style: TextStyle
  • text: string
  • type: "span"