ColorLong
@Target([AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.LOCAL_VARIABLE, AnnotationTarget.FIELD]) 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:
<code>public void setFillColor(@ColorLong long color); </code>
Summary
Public constructors | |
---|---|
<init>() 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:
<code>public void setFillColor(@ColorLong long color); </code>
See Also