Search Results for

    Show / Hide Table of Contents

    Interface IFont

    Defines the interface to a 2D font used to draw text on the IRenderSurface

    Implements
    IDisposable
    Namespace:
    Assembly: .dll
    Syntax
    public interface IFont extends IDisposable

    Methods

    getTextSize()

    Gets the current text size of this font in pixels

    Declaration
    public abstract float getTextSize()
    Returns
    Type Description
    float

    The size of this font in pixels

    getTypeFace()

    Gets thh current typeface of this font

    Declaration
    public abstract Typeface getTypeFace()
    Returns
    Type Description
    android.graphics.Typeface

    The typeface of this font

    measureText(String text, Rect bounds)

    Measures specified text and outputs its bounds into provided bounds instance

    Declaration
    public abstract void measureText(String text, Rect bounds)
    Parameters
    Type Name Description
    String text

    The text to measure

    android.graphics.Rect bounds

    The bounds Rect used for setting results of measurement

    Implements

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