Package com.leia.sdk.views
Class RecyclerViewAsset.ViewportConfig
- java.lang.Object
-
- com.leia.sdk.views.RecyclerViewAsset.ViewportConfig
-
- Enclosing class:
- RecyclerViewAsset
public static class RecyclerViewAsset.ViewportConfig extends Object
-
-
Constructor Summary
Constructors Constructor Description ViewportConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getBorderColor()
float
getBorderRadius()
Vector2i
getNumTiles()
float
getReconvergenceAmount()
ReconvergenceZoomType
getReconvergenceZoom()
ScaleType
getScaleType()
int
getSingleViewIndex()
boolean
getSingleViewMode()
Vector2i
getSourceSize()
void
setBorderColor(int borderColor)
void
setBorderRadius(float borderRadius)
void
setNumTiles(int numTilesX, int numTilesY)
void
setReconvergenceAmount(float reconvergenceAmount)
void
setReconvergenceZoom(ReconvergenceZoomType reconvergenceZoom)
void
setScaleType(ScaleType scaleType)
void
setSingleViewMode(boolean singleViewMode, int singleViewIndex)
void
setSourceSize(int x, int y)
-
-
-
Method Detail
-
getReconvergenceAmount
public float getReconvergenceAmount()
-
setReconvergenceAmount
public void setReconvergenceAmount(float reconvergenceAmount)
-
getReconvergenceZoom
public ReconvergenceZoomType getReconvergenceZoom()
-
setReconvergenceZoom
public void setReconvergenceZoom(ReconvergenceZoomType reconvergenceZoom)
-
getScaleType
public ScaleType getScaleType()
-
setScaleType
public void setScaleType(ScaleType scaleType)
-
getBorderRadius
public float getBorderRadius()
-
setBorderRadius
public void setBorderRadius(float borderRadius)
-
getBorderColor
public Color getBorderColor()
-
setBorderColor
public void setBorderColor(@ColorInt int borderColor)
-
getSourceSize
public Vector2i getSourceSize()
-
setSourceSize
public void setSourceSize(int x, int y)
-
getSingleViewMode
public boolean getSingleViewMode()
-
getSingleViewIndex
public int getSingleViewIndex()
-
setSingleViewMode
public void setSingleViewMode(boolean singleViewMode, int singleViewIndex)
-
getNumTiles
public Vector2i getNumTiles()
-
setNumTiles
public void setNumTiles(int numTilesX, int numTilesY)
-
-