MeteringPointFactory

public abstract class MeteringPointFactory
extends Object

java.lang.Object
   ↳ androidx.camera.core.MeteringPointFactory


A factory to create a MeteringPoint.

Users can call createPoint(float, float) to create a MeteringPoint with x, y, default size. There is also another variant, createPoint(float, float, float) for apps that want to also specify size.

Summary

Public methods

final MeteringPoint createPoint(float x, float y)

Creates a MeteringPoint by x, y.

final MeteringPoint createPoint(float x, float y, float size)

Creates a MeteringPoint by x, y, size.

static float getDefaultPointSize()

Returns default point size.

Inherited methods