Dimension
@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.FIELD, AnnotationTarget.LOCAL_VARIABLE, AnnotationTarget.ANNOTATION_CLASS]) class Dimension
Denotes that an integer parameter, field or method return value is expected to represent a dimension.
Summary
Public constructors |
Denotes that an integer parameter, field or method return value is expected to represent a dimension.
|
Constants
DP
static val DP: Int
Value: 0
PX
static val PX: Int
Value: 1
SP
static val SP: Int
Value: 2
Public constructors
<init>
Dimension(unit: Int)
Denotes that an integer parameter, field or method return value is expected to represent a dimension.
Properties