public class LeonardoUtil
| Modifier and Type | Field and Description |
|---|---|
static float |
DEFAULT_CORNER_RADIUS |
static LeonardoUtil |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
forPoints(DataTree<java.lang.Long,tech.harmonysoft.oss.leonardo.model.DataPoint> points,
long start,
long end,
boolean includePrevious,
boolean includeNext,
kotlin.jvm.functions.Function1<? super tech.harmonysoft.oss.leonardo.model.DataPoint,java.lang.Boolean> action) |
int |
getColor(java.lang.String resourceDescription,
int attributeId,
java.lang.Integer value,
int defaultStyle,
android.content.Context context) |
int |
getColor(android.content.Context context,
int defaultStyle,
int attributeId) |
int |
getDimensionSizeInPixels(java.lang.String resourceDescription,
int attributeId,
java.lang.Integer value,
int defaultStyle,
android.content.Context context) |
int |
getDimensionSizeInPixels(android.content.Context context,
int defaultStyle,
int attributeId) |
int |
getInt(java.lang.String resourceDescription,
int attributeId,
java.lang.Integer value,
int defaultStyle,
android.content.Context context) |
int |
getInt(android.content.Context context,
int defaultStyle,
int attributeId) |
java.util.Comparator<java.lang.Long> |
getLONG_COMPARATOR() |
public static float DEFAULT_CORNER_RADIUS
public static LeonardoUtil INSTANCE
@NotNull public java.util.Comparator<java.lang.Long> getLONG_COMPARATOR()
public int getColor(@NotNull
java.lang.String resourceDescription,
int attributeId,
@Nullable
java.lang.Integer value,
int defaultStyle,
@Nullable
android.content.Context context)
public int getColor(@NotNull
android.content.Context context,
int defaultStyle,
int attributeId)
public int getDimensionSizeInPixels(@NotNull
java.lang.String resourceDescription,
int attributeId,
@Nullable
java.lang.Integer value,
int defaultStyle,
@Nullable
android.content.Context context)
public int getDimensionSizeInPixels(@NotNull
android.content.Context context,
int defaultStyle,
int attributeId)
public int getInt(@NotNull
java.lang.String resourceDescription,
int attributeId,
@Nullable
java.lang.Integer value,
int defaultStyle,
@Nullable
android.content.Context context)
public int getInt(@NotNull
android.content.Context context,
int defaultStyle,
int attributeId)
public void forPoints(@NotNull
DataTree<java.lang.Long,tech.harmonysoft.oss.leonardo.model.DataPoint> points,
long start,
long end,
boolean includePrevious,
boolean includeNext,
@NotNull
kotlin.jvm.functions.Function1<? super tech.harmonysoft.oss.leonardo.model.DataPoint,java.lang.Boolean> action)