fromName

Gets an instance of the annotation tool variant with specified name. The variant cannot be an empty string. When specifying your own preset, make sure that the name doesn't collide with the pre-defined variants used in the framework. Those are defined in enum called . If you'd like to get one of the variants from our framework (from preset), you should use fromPreset static creator.

Return

An instance of the annotation tool variant with the specified variant name.

Parameters

variantName

Name of the variant to get an instance of.