public static class DimensionsLabel.Factory extends java.lang.Object implements RhythmSpecLayerFactory<DimensionsLabel>
DimensionsLabel
layers from config lines according to the docsModifier and Type | Field and Description |
---|---|
static java.lang.String |
ARG_COLOR |
static java.lang.String |
ARG_GRAVITY |
static java.lang.String |
ARG_TEXT_COLOR |
static java.lang.String |
ARG_TEXT_SIZE |
static java.lang.String |
LAYER_TYPE |
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
DimensionsLabel |
getForArguments(ArgumentsBundle argsBundle)
Create and configure a spec layer from provided arguments, or get previously created one from cache if it can be
safely reused.
|
public static final java.lang.String LAYER_TYPE
public static final java.lang.String ARG_GRAVITY
public static final java.lang.String ARG_COLOR
public static final java.lang.String ARG_TEXT_COLOR
public static final java.lang.String ARG_TEXT_SIZE
public DimensionsLabel getForArguments(ArgumentsBundle argsBundle)
RhythmSpecLayerFactory
getForArguments
in interface RhythmSpecLayerFactory<DimensionsLabel>
argsBundle
- container with arguments for this layer