Zebra\Zpl\Image::height PHP Method

height() public method

public height ( ) : integer
return integer
    public function height()
    {
        return $this->height;
    }

Usage Example

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