setAnchor abstract method

void setAnchor(
  1. Point<double> anchorNormal,
  2. Point<double> anchorCourse
)

Sets the anchor to the specified position in pixels and enables Anchor mode. (0, 0) denotes the top-left corner of the screen.

anchorNormal The anchor position when the app is not on a steady course; usually, the center of the screen. anchorCourse An anchor position near the bottom line for steady course mode.

Implementation

void setAnchor(math.Point<core.double> anchorNormal,
    math.Point<core.double> anchorCourse);