Package com.digimarc.dis
Class DMSDetectorView.ImageDetectionLocationStyle.Builder
java.lang.Object
com.digimarc.dis.DMSDetectorView.ImageDetectionLocationStyle.Builder
- Enclosing class:
- DMSDetectorView.ImageDetectionLocationStyle
The builder used to create
DMSDetectorView.ImageDetectionLocationStyle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
setBorderColor
(int borderColor) Sets the border color.setBorderWidth
(float borderWidth) Sets the border width.setFillColor
(int fillColor) Sets the fill color.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setBorderWidth
Sets the border width. The default is 1.0f.- Parameters:
borderWidth
- The border width in density-independent pixels (dp)- Returns:
- The current Builder
-
setBorderColor
Sets the border color. The default is transparent (0x000000).- Parameters:
borderColor
- The border color in ARGB format- Returns:
- The current builder
-
setFillColor
Sets the fill color. The default is transparent (0x000000).- Parameters:
fillColor
- The fill color in ARGB format- Returns:
- The current builder
-
build
- Returns:
- DetectionLayerConfiguration object with current state.
-