A Scalar provides an opportunity to scale axis-based double data.
Default constructor takes named paramters per axis. Use Scalar.xy
as a shortcut to only provide positional double values.
This class's transform method considers TextDirection and
will consider positive values as translation to the right if ltr
and translate left for positive values if rtl.
The definition of a Function that positionally accepts a double x then double y and returns a GradientTransform,
such as the default for this package: TranslateGradient.