package com.remax.visualnovel.widget.uitoken.bean

import android.graphics.Color

/**
 * Created by HJW on 2022/9/1
 */
data class CustomViewToken(
    /**
     * 文字相关 只在textView控件中有用
     */
    var textUITextToken: String = "", //edittext也可用
    var textUIColorToken: String = "",//edittext也可用
    var textUIPressedColorToken: String = "",
    var textUIHoveredColorToken: String = "",
    var textUIDisabledColorToken: String = "",
    var textUIHintColorToken: String = "",//edittext也可用
    var textUILinkColorToken: String = "",//IM消息链接颜色
    /**
     * 背景相关 全view可用
     */
    var backgroundUIColorToken: String = "",
    var backgroundUIPressedColorToken: String = "",
    var backgroundUIHoveredColorToken: String = "",
    var backgroundUIDisabledColorToken: String = "",
    var radiusToken: String = "",
    var topLeftRadiusToken: String = "",
    var topRightRadiusToken: String = "",
    var bottomLeftRadiusToken: String = "",
    var bottomRightRadiusToken: String = "",
    var strokeUIWidthToken: String = "",
    var strokeUIColorToken: String = "",
    var strokeUIPressedColorToken: String = "",
    var strokeUIHoveredColorToken: String = "",
    var strokeUIDisabledColorToken: String = "",
    var strokeDashWidth: Float = 0f,
    var strokeDashGap: Float = 0f,
    // 背景阴影
    var outlineToken: String = "",
    //X Y方向的点击区域扩大
    var xClickExpend: Int = 0,
    var yClickExpend: Int = 0,
    var onlyIconFont: Boolean = false,
    var fixTextIsSelectable: Boolean = false,
    var underline: Boolean = false,


    //---------------------- New added -----------------------
    var advBgColor:Int = Color.WHITE,
    var advRadius:Float = 0F,
    var advTopLeftRadius:Float = 0F,
    var advTopRightRadius:Float = 0F,
    var advBottomRightRadius:Float = 0F,
    var advBottomLeftRadius:Float = 0F,
    var advStrokeColor: Int = Color.BLACK,
    var advStrokeWidth:Float = 0F,
)
