one_dollar_unistroke_recognizer library
Classes
-
RecognizedCustomUnistroke<
K> - A recognized unistroke, with a custom key type.
-
Unistroke<
K> - A unistroke containing the list of points and optionally a name.
Enums
- DefaultUnistrokeNames
- The enum of the names of the default unistrokes.
Properties
-
default$1Unistrokes
→ List<
Unistroke< DefaultUnistrokeNames> > -
The default unistroke templates provided by this package.
final
-
example$1Unistrokes
→ List<
Unistroke< String> > -
The example set of unistroke templates,
taken from the JavaScript version of the $1 recognizer.
final
-
referenceUnistrokes
↔ List<
Unistroke> -
The unistroke templates that can be recognized by recognizeUnistroke.
getter/setter pair
Functions
-
recognizeCustomUnistroke<
K> (List< Offset> inputPoints, {bool useProtractor = true, List<Unistroke< ? overrideReferenceUnistrokes, K? straightLineName}) → RecognizedCustomUnistroke<K> >K> ? -
Recognizes a unistroke from
inputPoints
. -
recognizeUnistroke<
K extends DefaultUnistrokeNames> (List< Offset> inputPoints, {bool useProtractor = true, List<Unistroke< ? overrideReferenceUnistrokes}) → RecognizedUnistroke?K> > -
Recognizes a unistroke from
inputPoints
. -
recognizeUnistrokeOfType<
K> (List< Offset> inputPoints, {bool useProtractor = true, List<Unistroke< ? overrideReferenceUnistrokes}) → RecognizedCustomUnistroke<K> >K> ? -
Recognizes a unistroke from
inputPoints
.
Typedefs
-
RecognizedUnistroke
= RecognizedCustomUnistroke<
DefaultUnistrokeNames> - A recognized unistroke.