BitmapRegion
data class BitmapRegion(val x: Int, val y: Int, val width: Int, val height: Int, val canvasWidth: Int, val canvasHeight: Int, val bitmap: RgbaBitmap, val forced: Boolean = false)
A pre-rendered subtitle image, positioned in the video's own coordinate space.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The size the coordinates above are relative to.
Link copied to clipboard
True when the stream marks this picture as forced: a caption for a line in another language or a sign the viewer must read, which a disc player shows even with subtitles off (#513). Blu-ray (PGS) and DVD tracks can mix forced pictures with the ordinary ones in one track. io.github.yuroyami.kiteplayer.SubtitleConfig.forcedPicturesOnly draws only these.