# Deprecated API

## Contents

- Fields
- Methods

- Deprecated Fields
  Field
  Description
  com.castlabs.subtitles.presentation.SubtitlesStyle.disableAutoFlowText
  Use `SubtitlesStyle.displayAlign` and `SubtitlesStyle.textAlign` instead.
  com.castlabs.subtitles.presentation.SubtitlesStyle.regionAutoSizedToFit
  Use `SubtitlesStyle.displayAlign` and `SubtitlesStyle.textAlign` instead.

- Deprecated Methods
  Method
  Description
  com.castlabs.subtitles.presentation.SubtitlesStyle.Builder.disableAutoFlowText(boolean)
  Use `SubtitlesStyle.Builder.displayAlign(int)` and `SubtitlesStyle.Builder.textAlign(int)` instead.
  com.castlabs.subtitles.presentation.SubtitlesStyle.Builder.regionAutoSizedToFit(boolean, boolean)
  Use `SubtitlesStyle.Builder.displayAlign(int)` and `SubtitlesStyle.Builder.textAlign(int)` instead.