Type alias TextLine

TextLine: {
    baseline?: number;
    properties?: ParagraphProps;
    rect: Rect;
    text: string;
    textStyle?: TextStyle;
    type: "textLine";
}

it's a line of text

Type declaration

  • Optional baseline?: number
  • Optional properties?: ParagraphProps
  • rect: Rect
  • text: string
  • Optional textStyle?: TextStyle
  • type: "textLine"