Package com.banuba.sdk.entity
Class GravityPositionProviderAdapter
java.lang.Object
com.banuba.sdk.entity.GravityPositionProviderAdapter
- All Implemented Interfaces:
PositionProvider
Provide position for object based on gravity. Does not support RTL gravity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionandroid.graphics.PointF
provide
(android.util.Size viewportSize)
-
Constructor Details
-
GravityPositionProviderAdapter
-
-
Method Details
-
provide
public android.graphics.PointF provide(@NonNull android.util.Size viewportSize) - Specified by:
provide
in interfacePositionProvider
-