anchor property

double anchor
final

Where to place selected item on the viewport. Ranges from 0 to 1.

0.0 means selected item is aligned to start of the viewport, and 1.0 meaning selected item is aligned to end of the viewport. Defaults to 0.0.

This property is ignored when center is set to true.

Implementation

final double anchor;