Example usage for android.util SizeF getHeight

List of usage examples for android.util SizeF getHeight

Introduction

In this page you can find the example usage for android.util SizeF getHeight.

Prototype

public float getHeight() 

Source Link

Document

Get the height of the size (as an arbitrary unit).

Usage

From source file:com.android.camera2.its.ItsSerializer.java

@SuppressWarnings("unchecked")
private static Object serializeSizeF(SizeF size) throws org.json.JSONException {
    JSONObject sizeObj = new JSONObject();
    sizeObj.put("width", size.getWidth());
    sizeObj.put("height", size.getHeight());
    return sizeObj;
}