Interface IRenderSurface
Common interface for a RenderSurface.
Namespace:
Assembly: .dll
Syntax
public interface IRenderSurface extends IView, IInvalidatableElement
Methods
exportToBitmap(Bitmap bitmap)
Exports this instance of IRenderSurface to passed in Bitmap.
Declaration
public abstract void exportToBitmap(Bitmap bitmap)
Parameters
Type | Name | Description |
---|---|---|
android.graphics.Bitmap | bitmap | The Bitmap instance to export this IRenderSurface to. |
setRenderer(IRenderSurfaceRenderer renderer)
Sets the IRenderSurfaceRenderer which is used to render content of this IRenderSurface.
Declaration
public abstract void setRenderer(IRenderSurfaceRenderer renderer)
Parameters
Type | Name | Description |
---|---|---|
IRenderSurfaceRenderer | renderer | The new IRenderSurfaceRenderer instance. |
supportsTransparency()
Gets the value which indicates whether this IRenderSurface instance supports transparency.
Declaration
public abstract boolean supportsTransparency()
Returns
Type | Description |
---|---|
boolean | The value which indicates whether this IRenderSurface instance supports transparency. |