Polygon::offsetSet PHP 메소드

offsetSet() 공개 메소드

Interface ArrayAccess
public offsetSet ( $offset, $value )
    public function offsetSet($offset, $value)
    {
        if (is_null($offset)) {
            $this->points[] = $value;
        } else {
            $this->points[$offset] = $value;
        }
    }