Package org.hyperonline.hyperlib.pref
Class ScalarPreference
- java.lang.Object
-
- org.hyperonline.hyperlib.pref.ScalarPreference
-
public class ScalarPreference extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ScalarPreference(java.lang.String name, java.lang.String components, double... defaults)
Construct a scalar preference with the given name and components.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opencv.core.Scalar
get()
Get the current value of the preference.
-
-
-
Constructor Detail
-
ScalarPreference
public ScalarPreference(java.lang.String name, java.lang.String components, double... defaults)
Construct a scalar preference with the given name and components.- Parameters:
name
- The name of the preferences object.components
- A sequence of letters indicating the components. For example, "RGB", "HSV", "XYZ", etc. It may be any length.defaults
- Default settings for components
-
-