Search Results for

    Show / Hide Table of Contents

    Class AssetManagerBase

    An abstract base class for the AssetManager, which handles all assets which are used for drawing on IRenderSurface instance via IRenderContext2D methods See Also: IRenderSurface, IRenderContext2D

    Inheritance
    java.lang.Object
    DisposableBase
    AssetManagerBase
    Implements
    IAssetManager2D
    Inherited Members
    DisposableBase.<T>tryDispose(SparseArray<T>)
    DisposableBase.<T>tryDispose(List<T>)
    DisposableBase.<T>tryDispose(Map<?,T>)
    DisposableBase.close()
    DisposableBase.tryDispose(IDisposable)
    Object.clone()
    Object.equals(Object)
    Object.finalize()
    Object.getClass()
    Object.hashCode()
    Object.notify()
    Object.notifyAll()
    Object.toString()
    Object.wait()
    Object.wait(long)
    Object.wait(long,int)
    Namespace:
    Assembly: .dll
    Syntax
    public abstract class AssetManagerBase extends DisposableBase implements IAssetManager2D

    Constructors

    AssetManagerBase()

    Declaration
    public AssetManagerBase()

    Methods

    createBrush(BrushStyle brushStyle)

    Creates a IBrush2D instance from specified BrushStyle

    Declaration
    public final IBrush2D createBrush(BrushStyle brushStyle)
    Parameters
    Type Name Description
    BrushStyle brushStyle
    Returns
    Type Description
    IBrush2D

    createBrush(BrushStyle brushStyle, TextureMappingMode textureMappingMode)

    Creates a IBrush2D instance from specified BrushStyle

    Declaration
    public final IBrush2D createBrush(BrushStyle brushStyle, TextureMappingMode textureMappingMode)
    Parameters
    Type Name Description
    BrushStyle brushStyle
    TextureMappingMode textureMappingMode
    Returns
    Type Description
    IBrush2D

    createBrush(BrushStyle brushStyle, TextureMappingMode textureMappingMode, float opacity)

    Creates a IBrush2D instance from specified BrushStyle

    Declaration
    public final IBrush2D createBrush(BrushStyle brushStyle, TextureMappingMode textureMappingMode, float opacity)
    Parameters
    Type Name Description
    BrushStyle brushStyle
    TextureMappingMode textureMappingMode
    float opacity
    Returns
    Type Description
    IBrush2D

    createFont(FontStyle fontStyle)

    Creates a IFont instance from specified FontStyle

    Declaration
    public final IFont createFont(FontStyle fontStyle)
    Parameters
    Type Name Description
    FontStyle fontStyle
    Returns
    Type Description
    IFont

    createNewBrushFrom(BrushStyle brushStyle, TextureMappingMode textureMappingMode, float opacity)

    Creates a new IBrush2D instance from specified parameters

    Declaration
    protected abstract IBrush2D createNewBrushFrom(BrushStyle brushStyle, TextureMappingMode textureMappingMode, float opacity)
    Parameters
    Type Name Description
    BrushStyle brushStyle

    The brush style to create IBrush2D from

    TextureMappingMode textureMappingMode

    The TextureMappingMode for brush

    float opacity

    The opacity of the brush

    Returns
    Type Description
    IBrush2D

    New IBrush2D instance

    createNewFontFrom(FontStyle fontStyle)

    Creates a new IFont instance from specified parameters

    Declaration
    protected abstract IFont createNewFontFrom(FontStyle fontStyle)
    Parameters
    Type Name Description
    FontStyle fontStyle

    The font style to create IFont from

    Returns
    Type Description
    IFont

    New IFont instance

    createNewPenFrom(PenStyle penStyle, float opacity)

    Creates a new IPen2D instance from specified parameters

    Declaration
    protected abstract IPen2D createNewPenFrom(PenStyle penStyle, float opacity)
    Parameters
    Type Name Description
    PenStyle penStyle

    The pen style to create IPen2D from

    float opacity

    The opacity of the pen

    Returns
    Type Description
    IPen2D

    New IPen2D instance

    createPen(PenStyle penStyle)

    Creates a IPen2D instance from specified PenStyle

    Declaration
    public final IPen2D createPen(PenStyle penStyle)
    Parameters
    Type Name Description
    PenStyle penStyle
    Returns
    Type Description
    IPen2D

    createPen(PenStyle penStyle, float opacity)

    Creates a IPen2D instance from specified FontStyle

    Declaration
    public final IPen2D createPen(PenStyle penStyle, float opacity)
    Parameters
    Type Name Description
    PenStyle penStyle
    float opacity
    Returns
    Type Description
    IPen2D

    createTexture(Bitmap bitmap)

    Creates a ITexture2D instance from Bitmap

    Declaration
    public final IPixelTexture2D createTexture(Bitmap bitmap)
    Parameters
    Type Name Description
    android.graphics.Bitmap bitmap
    Returns
    Type Description
    IPixelTexture2D

    dispose()

    Declaration
    public void dispose()

    disposeResource(ResourceId resourceId)

    Tries to dispose resource associated with specified resourceId

    Declaration
    public final void disposeResource(ResourceId resourceId)
    Parameters
    Type Name Description
    ResourceId resourceId

    getResource(ResourceId resourceId)

    Gets the resource by specified resourceId

    Declaration
    public final IDisposable getResource(ResourceId resourceId)
    Parameters
    Type Name Description
    ResourceId resourceId
    Returns
    Type Description
    IDisposable

    hasResource(ResourceId resourceId)

    Checks if asset manager contains any resource associated with resourceId

    Declaration
    public final boolean hasResource(ResourceId resourceId)
    Parameters
    Type Name Description
    ResourceId resourceId
    Returns
    Type Description
    boolean

    storeResource(ResourceId resourceId, IDisposable resource)

    Store the specified resource in this asset manager

    Declaration
    public final void storeResource(ResourceId resourceId, IDisposable resource)
    Parameters
    Type Name Description
    ResourceId resourceId
    IDisposable resource

    Implements

    IAssetManager2D
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml