Search Results for

    Show / Hide Table of Contents

    Interface IFeatureSize

    For Detecting Feature Size is used in Rasterizing Tiling Rendering to determine how much more Features needs to be loaded

    Namespace: Mapsui.Styles
    Assembly: Mapsui.dll
    Syntax
    public interface IFeatureSize

    Properties

    | Edit this page View Source

    NeedsFeature

    True if it needs a feature to determine the Feature Size. For Example Symbols have always the same Size and therefore don't need a Feature. Labels have variable Size depending on the Text and therefore need a feature to determine the size

    Declaration
    bool NeedsFeature { get; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    FeatureSize(IStyle, IRenderCache, IFeature?)

    The Feature Size is in points of the screen

    Declaration
    double FeatureSize(IStyle style, IRenderCache symbolCache, IFeature? feature = null)
    Parameters
    Type Name Description
    IStyle style

    symbol style to detect size

    IRenderCache symbolCache

    symbol Cache

    IFeature feature

    feature to detect size

    Returns
    Type Description
    double

    size in points

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX