Package icyllis.modernui.annotation
Annotation Interface Dimension
@Documented
@Retention(SOURCE)
@Target({METHOD,PARAMETER,FIELD,LOCAL_VARIABLE,ANNOTATION_TYPE})
public @interface Dimension
Denotes that a numeric parameter, field or method return value is expected
to represent a dimension.
-
Nested Class Summary
-
Optional Element Summary
-
Field Summary
-
Field Details
-
DP
static final int DP- See Also:
-
PX
static final int PX- See Also:
-
SP
static final int SP- See Also:
-
-
Element Details
-
unit
int unit- Default:
1
-