location property

Offset get location

Gets a location of the destination.

Implementation

Offset get location => _location.offset;
set location (Offset value)

Sets a location of the destination.

Implementation

set location(Offset value) {
  final PdfPoint position = PdfPoint.fromOffset(value);
  if (position != _location) {
    _location = position;
    _initializePrimitive();
  }
}