For instance, to delete the red square, we would use $canvas->delete( $id ), where $id is the return value of the first call to createRectangle.
例如,为了删除红色正方形,我们使用 $canvas->delete( $id ) ,其中的 $id就是第一次调用函数createRectangle 的返回值。
For instance, to delete the red square, we would use $canvas->delete( $id ), where $id is the return value of the first call to createRectangle.
例如,为了删除红色正方形,我们使用 $canvas->delete( $id ) ,其中的 $id就是第一次调用函数createRectangle 的返回值。
应用推荐