$computePixelAlignment static method

$Value? $computePixelAlignment(
  1. Runtime runtime,
  2. $Value? target,
  3. List<$Value?> args
)

Wrapper for the Marker.computePixelAlignment method

Implementation

static $Value? $computePixelAlignment(
  Runtime runtime,
  $Value? target,
  List<$Value?> args,
) {
  final value = Marker.computePixelAlignment(
    width: args[0]!.$value,
    height: args[1]!.$value,
    left: args[2]!.$value,
    top: args[3]!.$value,
  );
  return $Alignment.wrap(value);
}