Search Results for

    Show / Hide Table of Contents

    Class DisplayMetricsTransformer

    Defines a helper class with methods for pixels transformations

    Inheritance
    java.lang.Object
    DisplayMetricsTransformer
    Implements
    IDisplayMetricsTransformer
    Inherited Members
    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 final class DisplayMetricsTransformer implements IDisplayMetricsTransformer

    Constructors

    DisplayMetricsTransformer(Context context)

    Creates a new instance of DisplayMetricsTransformer class

    Declaration
    public DisplayMetricsTransformer(Context context)
    Parameters
    Type Name Description
    android.content.Context context

    The context of application

    Methods

    transformFromDeviceIndependentPixels(float value)

    Transforms the value in a Device Independent Pixels to its final int value

    Declaration
    public int transformFromDeviceIndependentPixels(float value)
    Parameters
    Type Name Description
    float value
    Returns
    Type Description
    int

    transformFromInches(float value)

    Transforms the value in an Inches to its final int value

    Declaration
    public int transformFromInches(float value)
    Parameters
    Type Name Description
    float value
    Returns
    Type Description
    int

    transformFromMillimeters(float value)

    Transforms the value in a Millimeters to its final int value

    Declaration
    public int transformFromMillimeters(float value)
    Parameters
    Type Name Description
    float value
    Returns
    Type Description
    int

    transformFromPoints(float value)

    Transforms the value in a Points to its final int value

    Declaration
    public int transformFromPoints(float value)
    Parameters
    Type Name Description
    float value
    Returns
    Type Description
    int

    transformFromScaledPixels(float value)

    Transforms the value in a Scaled Pixels to its final int value

    Declaration
    public int transformFromScaledPixels(float value)
    Parameters
    Type Name Description
    float value
    Returns
    Type Description
    int

    Implements

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