public getOffsetX ( ) : float | ||
Результат | float |
public function getOffsetX()
{
return $this->offsetX;
}
public function testOffsetX() { $object = new PlotArea(); $value = rand(0, 100); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\PlotArea', $object->setOffsetX()); $this->assertEquals(0, $object->getOffsetX()); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\PlotArea', $object->setOffsetX($value)); $this->assertEquals($value, $object->getOffsetX()); }