ColorLong

class ColorLong
androidx.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); 

Summary

Public constructors

Denotes that the annotated element represents a packed color long.

Public constructors

<init>

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);