/// /// TextStyle.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 "TextStyle". */ @DoNotStrip @Keep data class TextStyle( @DoNotStrip @Keep val fontFamily: String?, @DoNotStrip @Keep val fontSize: Double, @DoNotStrip @Keep val color: String, @DoNotStrip @Keep val weight: FontWeight?, @DoNotStrip @Keep val align: TextAlign?, @DoNotStrip @Keep val shadow: TextShadow? ) { /* primary constructor */ companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(fontFamily: String?, fontSize: Double, color: String, weight: FontWeight?, align: TextAlign?, shadow: TextShadow?): TextStyle { return TextStyle(fontFamily, fontSize, color, weight, align, shadow) } } }