ColorLong

  • Cmn
    @MustBeDocumented
    @Retention(value = AnnotationRetention.SOURCE)
    @Target(allowedTargets = [AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.LOCAL_VARIABLE, AnnotationTarget.FIELD])
    annotation ColorLong

Denotes that the annotated element represents a packed color long. If applied to a long array, every element in the array represents a color long. For more information on how colors are packed in a long, please refer to the documentation of the android.graphics.Color class.

Example:

public void setFillColor(@ColorLong long color);
See also
Color

Summary

Public constructors

Cmn

Public constructors

ColorLong

ColorLong()