discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

forOrigin method

Float64List forOrigin(
  1. Vector2 origin
)

storage with its translation set for origin (world − origin, the frame paintWorldOverlay paints in). Call update first.

Implementation

Float64List forOrigin(Vector2 origin) {
  final p = _p;
  if (p == null) {
    throw StateError('GhostMatrix.forOrigin before update');
  }
  _writeTranslation(storage, p, origin);
  return storage;
}