Package com.nefrock.edgeocr.ui
Class BoxParams
java.lang.Object
com.nefrock.edgeocr.ui.BoxParams
バウンディングボックスを描画するためのパラメータ
-
Constructor Summary
Constructors -
Method Summary
-
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- テキストの色
-