[core] Add DDS support for text-rotate

This commit is contained in:
John Firebaugh
2017-03-30 16:02:59 -07:00
parent c4f9582bfa
commit 743d954053
11 changed files with 159 additions and 24 deletions

View File

@@ -1963,11 +1963,11 @@ public class PropertyFactory {
/**
* Rotates the text clockwise.
*
* @param <Z> the zoom parameter type
* @param function a wrapper {@link CameraFunction} for Float
* @param <T> the function input type
* @param function a wrapper function for Float
* @return property wrapper around a Float function
*/
public static <Z extends Number> PropertyValue<CameraFunction<Z, Float>> textRotate(CameraFunction<Z, Float> function) {
public static <T> PropertyValue<Function<T, Float>> textRotate(Function<T, Float> function) {
return new LayoutPropertyValue<>("text-rotate", function);
}