summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/SymbolLayer.java
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/SymbolLayer.java')
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/SymbolLayer.java160
1 files changed, 146 insertions, 14 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/SymbolLayer.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/SymbolLayer.java
index 81d5bcfd8c..0cbbc17d98 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/SymbolLayer.java
+++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/SymbolLayer.java
@@ -64,6 +64,7 @@ public class SymbolLayer extends Layer {
* @param sourceLayer the source layer to set
* @return This
*/
+ @NonNull
public SymbolLayer withSourceLayer(String sourceLayer) {
setSourceLayer(sourceLayer);
return this;
@@ -74,6 +75,7 @@ public class SymbolLayer extends Layer {
*
* @return id of the source
*/
+ @NonNull
public String getSourceId() {
checkThread();
return nativeGetSourceId();
@@ -84,6 +86,7 @@ public class SymbolLayer extends Layer {
*
* @return sourceLayer the source layer to get
*/
+ @NonNull
public String getSourceLayer() {
checkThread();
return nativeGetSourceLayer();
@@ -94,7 +97,7 @@ public class SymbolLayer extends Layer {
*
* @param filter the expression filter to set
*/
- public void setFilter(Expression filter) {
+ public void setFilter(@NonNull Expression filter) {
checkThread();
nativeSetFilter(filter.toArray());
}
@@ -105,7 +108,8 @@ public class SymbolLayer extends Layer {
* @param filter the expression filter to set
* @return This
*/
- public SymbolLayer withFilter(Expression filter) {
+ @NonNull
+ public SymbolLayer withFilter(@NonNull Expression filter) {
setFilter(filter);
return this;
}
@@ -132,6 +136,7 @@ public class SymbolLayer extends Layer {
* @param properties the var-args properties
* @return This
*/
+ @NonNull
public SymbolLayer withProperties(@NonNull PropertyValue<?>... properties) {
setProperties(properties);
return this;
@@ -144,6 +149,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around String
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<String> getSymbolPlacement() {
checkThread();
@@ -155,6 +161,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float> getSymbolSpacing() {
checkThread();
@@ -166,6 +173,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Boolean
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Boolean> getSymbolAvoidEdges() {
checkThread();
@@ -177,6 +185,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around String
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<String> getSymbolZOrder() {
checkThread();
@@ -188,6 +197,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Boolean
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Boolean> getIconAllowOverlap() {
checkThread();
@@ -199,6 +209,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Boolean
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Boolean> getIconIgnorePlacement() {
checkThread();
@@ -210,6 +221,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Boolean
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Boolean> getIconOptional() {
checkThread();
@@ -221,6 +233,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around String
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<String> getIconRotationAlignment() {
checkThread();
@@ -232,6 +245,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float> getIconSize() {
checkThread();
@@ -243,6 +257,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around String
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<String> getIconTextFit() {
checkThread();
@@ -254,6 +269,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float[]
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float[]> getIconTextFitPadding() {
checkThread();
@@ -265,6 +281,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around String
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<String> getIconImage() {
checkThread();
@@ -276,6 +293,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float> getIconRotate() {
checkThread();
@@ -287,6 +305,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float> getIconPadding() {
checkThread();
@@ -298,6 +317,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Boolean
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Boolean> getIconKeepUpright() {
checkThread();
@@ -309,6 +329,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float[]
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float[]> getIconOffset() {
checkThread();
@@ -320,6 +341,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around String
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<String> getIconAnchor() {
checkThread();
@@ -331,6 +353,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around String
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<String> getIconPitchAlignment() {
checkThread();
@@ -342,6 +365,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around String
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<String> getTextPitchAlignment() {
checkThread();
@@ -353,6 +377,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around String
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<String> getTextRotationAlignment() {
checkThread();
@@ -364,6 +389,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around String
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<String> getTextField() {
checkThread();
@@ -393,6 +419,7 @@ public class SymbolLayer extends Layer {
* @return property wrapper value around String
* @see Expression#format(Expression.FormatEntry...)
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Formatted> getFormattedTextField() {
checkThread();
@@ -404,6 +431,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around String[]
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<String[]> getTextFont() {
checkThread();
@@ -415,6 +443,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float> getTextSize() {
checkThread();
@@ -426,6 +455,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float> getTextMaxWidth() {
checkThread();
@@ -437,6 +467,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float> getTextLineHeight() {
checkThread();
@@ -448,6 +479,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float> getTextLetterSpacing() {
checkThread();
@@ -459,6 +491,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around String
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<String> getTextJustify() {
checkThread();
@@ -470,6 +503,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around String
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<String> getTextAnchor() {
checkThread();
@@ -481,6 +515,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float> getTextMaxAngle() {
checkThread();
@@ -492,6 +527,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float> getTextRotate() {
checkThread();
@@ -503,6 +539,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float> getTextPadding() {
checkThread();
@@ -514,6 +551,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Boolean
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Boolean> getTextKeepUpright() {
checkThread();
@@ -525,6 +563,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around String
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<String> getTextTransform() {
checkThread();
@@ -536,6 +575,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float[]
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float[]> getTextOffset() {
checkThread();
@@ -547,6 +587,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Boolean
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Boolean> getTextAllowOverlap() {
checkThread();
@@ -558,6 +599,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Boolean
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Boolean> getTextIgnorePlacement() {
checkThread();
@@ -569,6 +611,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Boolean
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Boolean> getTextOptional() {
checkThread();
@@ -580,6 +623,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float> getIconOpacity() {
checkThread();
@@ -591,6 +635,7 @@ public class SymbolLayer extends Layer {
*
* @return transition options for Float
*/
+ @NonNull
public TransitionOptions getIconOpacityTransition() {
checkThread();
return nativeGetIconOpacityTransition();
@@ -601,7 +646,7 @@ public class SymbolLayer extends Layer {
*
* @param options transition options for Float
*/
- public void setIconOpacityTransition(TransitionOptions options) {
+ public void setIconOpacityTransition(@NonNull TransitionOptions options) {
checkThread();
nativeSetIconOpacityTransition(options.getDuration(), options.getDelay());
}
@@ -611,6 +656,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around String
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<String> getIconColor() {
checkThread();
@@ -639,6 +685,7 @@ public class SymbolLayer extends Layer {
*
* @return transition options for String
*/
+ @NonNull
public TransitionOptions getIconColorTransition() {
checkThread();
return nativeGetIconColorTransition();
@@ -649,7 +696,7 @@ public class SymbolLayer extends Layer {
*
* @param options transition options for String
*/
- public void setIconColorTransition(TransitionOptions options) {
+ public void setIconColorTransition(@NonNull TransitionOptions options) {
checkThread();
nativeSetIconColorTransition(options.getDuration(), options.getDelay());
}
@@ -659,6 +706,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around String
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<String> getIconHaloColor() {
checkThread();
@@ -687,6 +735,7 @@ public class SymbolLayer extends Layer {
*
* @return transition options for String
*/
+ @NonNull
public TransitionOptions getIconHaloColorTransition() {
checkThread();
return nativeGetIconHaloColorTransition();
@@ -697,7 +746,7 @@ public class SymbolLayer extends Layer {
*
* @param options transition options for String
*/
- public void setIconHaloColorTransition(TransitionOptions options) {
+ public void setIconHaloColorTransition(@NonNull TransitionOptions options) {
checkThread();
nativeSetIconHaloColorTransition(options.getDuration(), options.getDelay());
}
@@ -707,6 +756,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float> getIconHaloWidth() {
checkThread();
@@ -718,6 +768,7 @@ public class SymbolLayer extends Layer {
*
* @return transition options for Float
*/
+ @NonNull
public TransitionOptions getIconHaloWidthTransition() {
checkThread();
return nativeGetIconHaloWidthTransition();
@@ -728,7 +779,7 @@ public class SymbolLayer extends Layer {
*
* @param options transition options for Float
*/
- public void setIconHaloWidthTransition(TransitionOptions options) {
+ public void setIconHaloWidthTransition(@NonNull TransitionOptions options) {
checkThread();
nativeSetIconHaloWidthTransition(options.getDuration(), options.getDelay());
}
@@ -738,6 +789,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float> getIconHaloBlur() {
checkThread();
@@ -749,6 +801,7 @@ public class SymbolLayer extends Layer {
*
* @return transition options for Float
*/
+ @NonNull
public TransitionOptions getIconHaloBlurTransition() {
checkThread();
return nativeGetIconHaloBlurTransition();
@@ -759,7 +812,7 @@ public class SymbolLayer extends Layer {
*
* @param options transition options for Float
*/
- public void setIconHaloBlurTransition(TransitionOptions options) {
+ public void setIconHaloBlurTransition(@NonNull TransitionOptions options) {
checkThread();
nativeSetIconHaloBlurTransition(options.getDuration(), options.getDelay());
}
@@ -769,6 +822,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float[]
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float[]> getIconTranslate() {
checkThread();
@@ -780,6 +834,7 @@ public class SymbolLayer extends Layer {
*
* @return transition options for Float[]
*/
+ @NonNull
public TransitionOptions getIconTranslateTransition() {
checkThread();
return nativeGetIconTranslateTransition();
@@ -790,7 +845,7 @@ public class SymbolLayer extends Layer {
*
* @param options transition options for Float[]
*/
- public void setIconTranslateTransition(TransitionOptions options) {
+ public void setIconTranslateTransition(@NonNull TransitionOptions options) {
checkThread();
nativeSetIconTranslateTransition(options.getDuration(), options.getDelay());
}
@@ -800,6 +855,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around String
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<String> getIconTranslateAnchor() {
checkThread();
@@ -811,6 +867,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float> getTextOpacity() {
checkThread();
@@ -822,6 +879,7 @@ public class SymbolLayer extends Layer {
*
* @return transition options for Float
*/
+ @NonNull
public TransitionOptions getTextOpacityTransition() {
checkThread();
return nativeGetTextOpacityTransition();
@@ -832,7 +890,7 @@ public class SymbolLayer extends Layer {
*
* @param options transition options for Float
*/
- public void setTextOpacityTransition(TransitionOptions options) {
+ public void setTextOpacityTransition(@NonNull TransitionOptions options) {
checkThread();
nativeSetTextOpacityTransition(options.getDuration(), options.getDelay());
}
@@ -842,6 +900,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around String
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<String> getTextColor() {
checkThread();
@@ -870,6 +929,7 @@ public class SymbolLayer extends Layer {
*
* @return transition options for String
*/
+ @NonNull
public TransitionOptions getTextColorTransition() {
checkThread();
return nativeGetTextColorTransition();
@@ -880,7 +940,7 @@ public class SymbolLayer extends Layer {
*
* @param options transition options for String
*/
- public void setTextColorTransition(TransitionOptions options) {
+ public void setTextColorTransition(@NonNull TransitionOptions options) {
checkThread();
nativeSetTextColorTransition(options.getDuration(), options.getDelay());
}
@@ -890,6 +950,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around String
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<String> getTextHaloColor() {
checkThread();
@@ -918,6 +979,7 @@ public class SymbolLayer extends Layer {
*
* @return transition options for String
*/
+ @NonNull
public TransitionOptions getTextHaloColorTransition() {
checkThread();
return nativeGetTextHaloColorTransition();
@@ -928,7 +990,7 @@ public class SymbolLayer extends Layer {
*
* @param options transition options for String
*/
- public void setTextHaloColorTransition(TransitionOptions options) {
+ public void setTextHaloColorTransition(@NonNull TransitionOptions options) {
checkThread();
nativeSetTextHaloColorTransition(options.getDuration(), options.getDelay());
}
@@ -938,6 +1000,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float> getTextHaloWidth() {
checkThread();
@@ -949,6 +1012,7 @@ public class SymbolLayer extends Layer {
*
* @return transition options for Float
*/
+ @NonNull
public TransitionOptions getTextHaloWidthTransition() {
checkThread();
return nativeGetTextHaloWidthTransition();
@@ -959,7 +1023,7 @@ public class SymbolLayer extends Layer {
*
* @param options transition options for Float
*/
- public void setTextHaloWidthTransition(TransitionOptions options) {
+ public void setTextHaloWidthTransition(@NonNull TransitionOptions options) {
checkThread();
nativeSetTextHaloWidthTransition(options.getDuration(), options.getDelay());
}
@@ -969,6 +1033,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float> getTextHaloBlur() {
checkThread();
@@ -980,6 +1045,7 @@ public class SymbolLayer extends Layer {
*
* @return transition options for Float
*/
+ @NonNull
public TransitionOptions getTextHaloBlurTransition() {
checkThread();
return nativeGetTextHaloBlurTransition();
@@ -990,7 +1056,7 @@ public class SymbolLayer extends Layer {
*
* @param options transition options for Float
*/
- public void setTextHaloBlurTransition(TransitionOptions options) {
+ public void setTextHaloBlurTransition(@NonNull TransitionOptions options) {
checkThread();
nativeSetTextHaloBlurTransition(options.getDuration(), options.getDelay());
}
@@ -1000,6 +1066,7 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around Float[]
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<Float[]> getTextTranslate() {
checkThread();
@@ -1011,6 +1078,7 @@ public class SymbolLayer extends Layer {
*
* @return transition options for Float[]
*/
+ @NonNull
public TransitionOptions getTextTranslateTransition() {
checkThread();
return nativeGetTextTranslateTransition();
@@ -1021,7 +1089,7 @@ public class SymbolLayer extends Layer {
*
* @param options transition options for Float[]
*/
- public void setTextTranslateTransition(TransitionOptions options) {
+ public void setTextTranslateTransition(@NonNull TransitionOptions options) {
checkThread();
nativeSetTextTranslateTransition(options.getDuration(), options.getDelay());
}
@@ -1031,234 +1099,298 @@ public class SymbolLayer extends Layer {
*
* @return property wrapper value around String
*/
+ @NonNull
@SuppressWarnings("unchecked")
public PropertyValue<String> getTextTranslateAnchor() {
checkThread();
return (PropertyValue<String>) new PropertyValue("text-translate-anchor", nativeGetTextTranslateAnchor());
}
+ @NonNull
@Keep
private native Object nativeGetSymbolPlacement();
+ @NonNull
@Keep
private native Object nativeGetSymbolSpacing();
+ @NonNull
@Keep
private native Object nativeGetSymbolAvoidEdges();
+ @NonNull
@Keep
private native Object nativeGetSymbolZOrder();
+ @NonNull
@Keep
private native Object nativeGetIconAllowOverlap();
+ @NonNull
@Keep
private native Object nativeGetIconIgnorePlacement();
+ @NonNull
@Keep
private native Object nativeGetIconOptional();
+ @NonNull
@Keep
private native Object nativeGetIconRotationAlignment();
+ @NonNull
@Keep
private native Object nativeGetIconSize();
+ @NonNull
@Keep
private native Object nativeGetIconTextFit();
+ @NonNull
@Keep
private native Object nativeGetIconTextFitPadding();
+ @NonNull
@Keep
private native Object nativeGetIconImage();
+ @NonNull
@Keep
private native Object nativeGetIconRotate();
+ @NonNull
@Keep
private native Object nativeGetIconPadding();
+ @NonNull
@Keep
private native Object nativeGetIconKeepUpright();
+ @NonNull
@Keep
private native Object nativeGetIconOffset();
+ @NonNull
@Keep
private native Object nativeGetIconAnchor();
+ @NonNull
@Keep
private native Object nativeGetIconPitchAlignment();
+ @NonNull
@Keep
private native Object nativeGetTextPitchAlignment();
+ @NonNull
@Keep
private native Object nativeGetTextRotationAlignment();
+ @NonNull
@Keep
private native Object nativeGetTextField();
+ @NonNull
@Keep
private native Object nativeGetTextFont();
+ @NonNull
@Keep
private native Object nativeGetTextSize();
+ @NonNull
@Keep
private native Object nativeGetTextMaxWidth();
+ @NonNull
@Keep
private native Object nativeGetTextLineHeight();
+ @NonNull
@Keep
private native Object nativeGetTextLetterSpacing();
+ @NonNull
@Keep
private native Object nativeGetTextJustify();
+ @NonNull
@Keep
private native Object nativeGetTextAnchor();
+ @NonNull
@Keep
private native Object nativeGetTextMaxAngle();
+ @NonNull
@Keep
private native Object nativeGetTextRotate();
+ @NonNull
@Keep
private native Object nativeGetTextPadding();
+ @NonNull
@Keep
private native Object nativeGetTextKeepUpright();
+ @NonNull
@Keep
private native Object nativeGetTextTransform();
+ @NonNull
@Keep
private native Object nativeGetTextOffset();
+ @NonNull
@Keep
private native Object nativeGetTextAllowOverlap();
+ @NonNull
@Keep
private native Object nativeGetTextIgnorePlacement();
+ @NonNull
@Keep
private native Object nativeGetTextOptional();
+ @NonNull
@Keep
private native Object nativeGetIconOpacity();
+ @NonNull
@Keep
private native TransitionOptions nativeGetIconOpacityTransition();
@Keep
private native void nativeSetIconOpacityTransition(long duration, long delay);
+ @NonNull
@Keep
private native Object nativeGetIconColor();
+ @NonNull
@Keep
private native TransitionOptions nativeGetIconColorTransition();
@Keep
private native void nativeSetIconColorTransition(long duration, long delay);
+ @NonNull
@Keep
private native Object nativeGetIconHaloColor();
+ @NonNull
@Keep
private native TransitionOptions nativeGetIconHaloColorTransition();
@Keep
private native void nativeSetIconHaloColorTransition(long duration, long delay);
+ @NonNull
@Keep
private native Object nativeGetIconHaloWidth();
+ @NonNull
@Keep
private native TransitionOptions nativeGetIconHaloWidthTransition();
@Keep
private native void nativeSetIconHaloWidthTransition(long duration, long delay);
+ @NonNull
@Keep
private native Object nativeGetIconHaloBlur();
+ @NonNull
@Keep
private native TransitionOptions nativeGetIconHaloBlurTransition();
@Keep
private native void nativeSetIconHaloBlurTransition(long duration, long delay);
+ @NonNull
@Keep
private native Object nativeGetIconTranslate();
+ @NonNull
@Keep
private native TransitionOptions nativeGetIconTranslateTransition();
@Keep
private native void nativeSetIconTranslateTransition(long duration, long delay);
+ @NonNull
@Keep
private native Object nativeGetIconTranslateAnchor();
+ @NonNull
@Keep
private native Object nativeGetTextOpacity();
+ @NonNull
@Keep
private native TransitionOptions nativeGetTextOpacityTransition();
@Keep
private native void nativeSetTextOpacityTransition(long duration, long delay);
+ @NonNull
@Keep
private native Object nativeGetTextColor();
+ @NonNull
@Keep
private native TransitionOptions nativeGetTextColorTransition();
@Keep
private native void nativeSetTextColorTransition(long duration, long delay);
+ @NonNull
@Keep
private native Object nativeGetTextHaloColor();
+ @NonNull
@Keep
private native TransitionOptions nativeGetTextHaloColorTransition();
@Keep
private native void nativeSetTextHaloColorTransition(long duration, long delay);
+ @NonNull
@Keep
private native Object nativeGetTextHaloWidth();
+ @NonNull
@Keep
private native TransitionOptions nativeGetTextHaloWidthTransition();
@Keep
private native void nativeSetTextHaloWidthTransition(long duration, long delay);
+ @NonNull
@Keep
private native Object nativeGetTextHaloBlur();
+ @NonNull
@Keep
private native TransitionOptions nativeGetTextHaloBlurTransition();
@Keep
private native void nativeSetTextHaloBlurTransition(long duration, long delay);
+ @NonNull
@Keep
private native Object nativeGetTextTranslate();
+ @NonNull
@Keep
private native TransitionOptions nativeGetTextTranslateTransition();
@Keep
private native void nativeSetTextTranslateTransition(long duration, long delay);
+ @NonNull
@Keep
private native Object nativeGetTextTranslateAnchor();