Zebra\Contracts\Zpl\Image::height PHP Method

height() public method

Get the image height in pixels.
public height ( ) : integer
return integer
    public function height();

Usage Example

Example #1
0
 function it_accepts_a_single_argument_of_image_for_gf_command(ImageContract $image)
 {
     $image->toAscii()->willReturn('FF00');
     $image->width()->willReturn(2);
     $image->height()->willReturn(16);
     $this->gf($image)->toZpl()->shouldReturn("^XA\n^GFA,32,32,2,FF00\n^XZ");
 }