Table of contents

LayoutAxis

The LayoutAxis class provides configuration for a single axis in layout analysis.

Definition

Namespace: com.dynamsoft.utility

Assembly: DynamsoftCaptureVisionBundle.aar

class LayoutAxis

Attributes

Attribute Type Description
elementCount int Expected number of elements along this axis. Use -1 for auto-detection.
isStaggered boolean Whether the layout uses an offset/staggered pattern.
angle int Target angle [0, 180]. Use -1 for auto-detection.
isEqualSpacing boolean Force equal gaps between elements. When false, spacing is ignored.
spacing int Spacing between elements along this axis. Use -1 for auto-detection.
spacingUnit int Interpretation mode for the spacing value.

elementCount

Expected number of elements along this axis. Use -1 for auto-detection.

int elementCount;

isStaggered

Whether the layout uses an offset/staggered pattern.

boolean isStaggered;

angle

Target angle [0, 180]. Use -1 for auto-detection.

int angle;

isEqualSpacing

Force equal gaps between elements. When false, spacing is ignored.

boolean isEqualSpacing;

spacing

Spacing between elements along this axis. Use -1 for auto-detection.

int spacing;

spacingUnit

Interpretation mode for the spacing value.

@EnumMeasureUnit
int spacingUnit;

This page is compatible for: