FocalPoint constructor

const FocalPoint({
  1. Point<double> ratio = _originPoint,
  2. Point<double> offset = _originPoint,
})

Constructs a FocalPoint with an optional ratio and offset, both defaulting to the origin point if not provided.

Implementation

const FocalPoint({
  this.ratio = _originPoint,
  this.offset = _originPoint,
});