Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# PortraitProcessor.maximumRollAngle Property

Module: PortraitProcessor

Type: float

## Definition

Maximum head roll angle, in degrees, for frontal positioning.

Hint

Default value is 15.

Python

    maximum_roll_angle: float

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Dart

    double get maximumRollAngle => getMaximumRollAngle();
    set maximumRollAngle(double value) => setMaximumRollAngle(value);

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C#

    public float maximumRollAngle
    {
        get => GetmaximumRollAngle();
        set => SetmaximumRollAngle(ref value);
    }

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Java

    public float getMaximumRollAngle() throws FaceException
    public void setMaximumRollAngle(float maximumRollAngle) throws FaceException

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Swift

    public var maximumRollAngle: Float
        get {
            return try! getMaximumRollAngle()
        }
    }

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C

    int id3FacePortraitProcessor_GetMaximumRollAngle (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, float * maximumRollAngle)
    int id3FacePortraitProcessor_SetMaximumRollAngle (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, float maximumRollAngle)

Returns

> `int`
> An error code.
> See id3FaceError file for the list of possible error codes.