Class BoxParams

java.lang.Object
com.nefrock.edgeocr.ui.BoxParams

public class BoxParams extends Object
バウンディングボックスを描画するためのパラメータ
  • Constructor Summary

    Constructors
    Constructor
    Description
    BoxParams(int textSize, int boxColor, int textColor)
    コンストラクタ
    BoxParams(int textSize, int strokeWidth, int cornerRadius, int boxColor, int textColor)
    コンストラクタ
    BoxParams(int textSize, int strokeWidth, int cornerRadius, int emptyBoxAlpha, int boxColor, int textColor)
    コンストラクタ
  • Method Summary

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BoxParams

      public BoxParams(int textSize, int strokeWidth, int cornerRadius, int emptyBoxAlpha, int boxColor, int textColor)
      コンストラクタ
      Parameters:
      textSize - テキストサイズ
      strokeWidth - 線幅
      cornerRadius - 角丸
      emptyBoxAlpha - 空のボックスの透明度
      boxColor - ボックスの色
      textColor - テキストの色
    • BoxParams

      public BoxParams(int textSize, int strokeWidth, int cornerRadius, @ColorInt int boxColor, @ColorInt int textColor)
      コンストラクタ
      Parameters:
      textSize - テキストサイズ
      strokeWidth - 線幅
      cornerRadius - 角丸
      boxColor - ボックスの色
      textColor - テキストの色
    • BoxParams

      public BoxParams(int textSize, @ColorInt int boxColor, @ColorInt int textColor)
      コンストラクタ
      Parameters:
      textSize - テキストサイズ
      boxColor - ボックスの色
      textColor - テキストの色