code: def __init__(
      self,
      color: Optional[str] = None,
      font_style: Optional[str] = None,
      font_weight: Optional[str] = None,
      font_family: Optional[str] = None,
      font_size: Optional[Numeric] = None,
      align: Optional[str] = None,
      vertical_align: Optional[str] = None,
      line_height: Optional[str] = None,
      background_color: Optional[str] = None,
      border_color: Optional[str] = None,
      border_width: Optional[Numeric] = None,
      border_radius: Union[Numeric, Sequence, None] = None,
      padding: Union[Numeric, Sequence, None] = None,
      shadow_color: Optional[str] = None,
      shadow_blur: Optional[Numeric] = None,
      width: Optional[str] = None,
      height: Optional[str] = None,
      rich: Optional[dict] = None,
  ):
      self.opts: dict = {
          "color": color,
          "fontStyle": font_style,
          "fontWeight": font_weight,
          "fontFamily": font_family,
          "fontSize": font_size,
          "align": align,
          "verticalAlign": vertical_align,
          "lineHeight": line_height,
          "backgroundColor": background_color,
          "borderColor": border_color,
          "borderWidth": border_width,
          "borderRadius": border_radius,
          "padding": padding,
          "shadowColor": shadow_color,
          "shadowBlur": shadow_blur,
          "width": width,
          "height": height,
          "rich": rich,
      }
  
imports: from typing import Any, Optional, Sequence, Tuple, Union
  from ..commons.utils import JsCode
label_desc: Use image node_id 1 to create a new TextStyleOpts object from inherited base classes: BasicOpts with example: obj = TextStyleOpts(color, font_style, font_weight, font_family, font_size, align, vertical_align, line_height, background_color, border_color, border_width, border_radius, padding, shadow_color, shadow_blur, width, height, rich)