Search Results for

    Show / Hide Table of Contents

    Class RenderCache

    Inheritance
    object
    RenderCache
    Implements
    IRenderCache
    ILabelCache
    ISymbolCache
    IVectorCache
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Rendering.Skia.Cache
    Assembly: Mapsui.Rendering.Skia.dll
    Syntax
    public class RenderCache : IRenderCache, ILabelCache, ISymbolCache, IVectorCache

    Constructors

    | Edit this page View Source

    RenderCache(int)

    Declaration
    public RenderCache(int capacity = 10000)
    Parameters
    Type Name Description
    int capacity

    Properties

    | Edit this page View Source

    LabelCache

    Declaration
    public ILabelCache LabelCache { get; set; }
    Property Value
    Type Description
    ILabelCache
    | Edit this page View Source

    SymbolCache

    Declaration
    public ISymbolCache SymbolCache { get; set; }
    Property Value
    Type Description
    ISymbolCache
    | Edit this page View Source

    VectorCache

    Declaration
    public IVectorCache? VectorCache { get; set; }
    Property Value
    Type Description
    IVectorCache

    Methods

    | Edit this page View Source

    GetOrCreate(int)

    Declaration
    public IBitmapInfo GetOrCreate(int bitmapID)
    Parameters
    Type Name Description
    int bitmapID
    Returns
    Type Description
    IBitmapInfo
    | Edit this page View Source

    GetOrCreateLabel<T>(string?, LabelStyle, float, Func<LabelStyle, string?, float, ILabelCache, T>)

    Declaration
    public T GetOrCreateLabel<T>(string? text, LabelStyle style, float opacity, Func<LabelStyle, string?, float, ILabelCache, T> createLabelAsBitmap) where T : IBitmapInfo
    Parameters
    Type Name Description
    string text
    LabelStyle style
    float opacity
    Func<LabelStyle, string, float, ILabelCache, T> createLabelAsBitmap
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    GetOrCreatePaint<T>(Brush?, float, double, Func<Brush?, float, double, ISymbolCache, T>)

    Declaration
    public T GetOrCreatePaint<T>(Brush? brush, float opacity, double rotation, Func<Brush?, float, double, ISymbolCache, T> toPaint) where T : class
    Parameters
    Type Name Description
    Brush brush
    float opacity
    double rotation
    Func<Brush, float, double, ISymbolCache, T> toPaint
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    GetOrCreatePaint<T>(Pen?, float, Func<Pen?, float, T>)

    Declaration
    public T GetOrCreatePaint<T>(Pen? pen, float opacity, Func<Pen?, float, T> toPaint) where T : class
    Parameters
    Type Name Description
    Pen pen
    float opacity
    Func<Pen, float, T> toPaint
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    GetOrCreatePath<TPath, TGeometry>(Viewport, TGeometry, float, Func<TGeometry, Viewport, float, TPath>)

    Declaration
    public TPath GetOrCreatePath<TPath, TGeometry>(Viewport viewport, TGeometry geometry, float lineWidth, Func<TGeometry, Viewport, float, TPath> toPath) where TPath : class where TGeometry : class
    Parameters
    Type Name Description
    Viewport viewport
    TGeometry geometry
    float lineWidth
    Func<TGeometry, Viewport, float, TPath> toPath
    Returns
    Type Description
    TPath
    Type Parameters
    Name Description
    TPath
    TGeometry
    | Edit this page View Source

    GetOrCreateTypeface<T>(Font, Func<Font, T>)

    Declaration
    public T GetOrCreateTypeface<T>(Font font, Func<Font, T> createTypeFace) where T : class
    Parameters
    Type Name Description
    Font font
    Func<Font, T> createTypeFace
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    GetSize(int)

    Declaration
    public Size? GetSize(int bitmapId)
    Parameters
    Type Name Description
    int bitmapId
    Returns
    Type Description
    Size

    Implements

    IRenderCache
    ILabelCache
    ISymbolCache
    IVectorCache
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX