Scalar class

Inheritance

Constructors

Scalar([double val1 = 0.0, double val2 = 0.0, double val3 = 0.0, double val4 = 0.0])
factory
Scalar.all(double val)
factory
Scalar.fromNative(Scalar s)
factory
Scalar.fromPointer(Pointer<Scalar> ptr, [bool attach = true])
factory
Scalar.fromRgb(int r, int g, int b)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
props List<double>
no setteroverride
ptr Pointer<Scalar>
getter/setter pairinherited
ref → Scalar
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
val List<double>
getter/setter pair
val1 double
getter/setter pair
val2 double
getter/setter pair
val3 double
getter/setter pair
val4 double
getter/setter pair

Methods

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pow(int n) Scalar
sqrt() Scalar
toString() String
A string representation of this object.
override

Operators

operator *(Scalar other) Scalar
operator +(Scalar other) Scalar
operator -(Scalar other) Scalar
operator /(Scalar other) Scalar
operator ==(Object other) bool
The equality operator.
inherited

Static Properties

black Scalar
final
blue Scalar
final
finalizer NativeFinalizer
final
green Scalar
final
max Scalar
final
red Scalar
final
white Scalar
final
zeros Scalar
final