Center

class Center(val aspectRatioNumerator: Int, val aspectRatioDenominator: Int) : ImageProcessor.Input.Option.Crop

An option to crop each Input.Frame around the central point to match aspectRatioNumerator/aspectRatioDenominator aspect ratio.

Parameters

aspectRatioNumerator

should be greater than 0.

aspectRatioDenominator

should be greater than 0.

Constructors

Link copied to clipboard
fun Center(aspectRatioNumerator: Int, aspectRatioDenominator: Int)

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
Link copied to clipboard