/// /// TextOverlay.kt /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE. /// https://github.com/mrousavy/nitro /// Copyright © Marc Rousavy @ Margelo /// package com.margelo.nitro.videopipeline import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip /** * Represents the JavaScript object/struct "TextOverlay". */ @DoNotStrip @Keep data class TextOverlay( @DoNotStrip @Keep val kind: OverlayKind, @DoNotStrip @Keep val text: String, @DoNotStrip @Keep val style: TextStyle, @DoNotStrip @Keep val anchor: AnchorPoint, @DoNotStrip @Keep val timeRange: TimeRange? ) { /* primary constructor */ companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(kind: OverlayKind, text: String, style: TextStyle, anchor: AnchorPoint, timeRange: TimeRange?): TextOverlay { return TextOverlay(kind, text, style, anchor, timeRange) } } }