SubtitleImage

class SubtitleImage(val x: Int, val y: Int, val width: Int, val height: Int, val rgba: ByteArray, val forced: Boolean)

One positioned image of a Subtitle, in canvas pixels.

Constructors

Link copied to clipboard
constructor(x: Int, y: Int, width: Int, height: Int, rgba: ByteArray, forced: Boolean)

Properties

Link copied to clipboard

True when the stream marks this image as forced: shown even when subtitles are off, such as the translation of a sign.

Link copied to clipboard
val height: Int
Link copied to clipboard

Premultiplied RGBA, 4 bytes per pixel, rows top to bottom with no padding between them.

Link copied to clipboard
val width: Int
Link copied to clipboard
val x: Int
Link copied to clipboard
val y: Int

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String