Package com.banuba.sdk.scene
Interface TextTexture
-
- All Known Implementing Classes:
TextTexture.CppProxy
public interface TextTexture
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TextTexture.CppProxy
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Image
asImage()
java.lang.String
getFont()
int
getHeight()
java.lang.String
getText()
int
getWidth()
void
loadResource(Resource res)
void
setFont(java.lang.String path)
void
setHeight(int value)
void
setText(java.lang.String text)
void
setWidth(int value)
-
-
-
Method Detail
-
loadResource
void loadResource(@Nullable Resource res)
-
getWidth
int getWidth()
-
getHeight
int getHeight()
-
setWidth
void setWidth(int value)
-
setHeight
void setHeight(int value)
-
setText
void setText(@NonNull java.lang.String text)
-
getText
@NonNull java.lang.String getText()
-
setFont
void setFont(@NonNull java.lang.String path)
-
getFont
@NonNull java.lang.String getFont()
-
asImage
@Nullable Image asImage()
- Returns:
- upcast to base type
-
-