ExperimentalInkBrushCompatibilityApi
@MustBeDocumented
@Retention(value = AnnotationRetention.BINARY)
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.FIELD, AnnotationTarget.LOCAL_VARIABLE, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.TYPEALIAS])
@RequiresOptIn(level = RequiresOptIn.Level.ERROR)
public annotation ExperimentalInkBrushCompatibilityApi
Marks declarations that are are an experimental Ink API that allows providing fallback implementations of brush styles for compatibility with older versions of Ink. These declarations may (or may not) be changed, deprecated, or removed in the near future, or the semantics of their behavior may change in some way that may break some code.
You can opt in to using APIs in your code by marking your declaration with @OptIn passing the opt-in requirement annotation as its argument: @OptIn(ExperimentalInkBrushCompatibilityApi::class).