Text
            TextAssetParams
    
              Bases: BaseModel
Represents the parameters for a text assets.
            position
  
      class-attribute
      instance-attribute
  
position: Position = Field(default_factory=AbsolutePosition)
The positioning of the text assets in the video.
            font_color
  
      class-attribute
      instance-attribute
  
    The font color hexadecimal code.
            stroke_color
  
      class-attribute
      instance-attribute
  
    The font stroke color hexadecimal code.
            stroke_width
  
      class-attribute
      instance-attribute
  
stroke_width: NonNegativeFloat = 0
The font stroke width.
            shadow_color
  
      class-attribute
      instance-attribute
  
    The shadow color hexadecimal code.
            shadow_opacity
  
      class-attribute
      instance-attribute
  
    The shadow opacity.
            shadow_distance
  
      class-attribute
      instance-attribute
  
shadow_distance: NonNegativeInt = 0
The shadow distance.
            background_color
  
      class-attribute
      instance-attribute
  
    The background color hexadecimal code.
            align
  
      class-attribute
      instance-attribute
  
align: Literal['left', 'center', 'right'] = 'left'
The text alignment.
            serialize_color
    Serialize the color to its hexadecimal code.
            BaseTextAsset
    
              Bases: BaseAsset[TextAssetParams, None]
Represents a text assets with various properties.
            params
  
      class-attribute
      instance-attribute
  
params: TextAssetParams = Field(
    default_factory=TextAssetParams
)
The parameters for the text assets.
            TextAsset
    
              Bases: BaseTextAsset
Represents a text assets with various properties.
            type
  
      class-attribute
      instance-attribute
  
type: Literal['text'] = 'text'
¨The type of the assets. Defaults to "text".