Obsolete Members for QGeoShape

以下成员源于类 QGeoShape 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。

公共函数

(obsolete) void extendShape (const QGeoCoordinate & coordinate ) [见下文注意事项]

注意: 此函数可以被援引,通过元对象系统和从 QML。见 Q_INVOKABLE .

成员函数文档编制

void QGeoShape:: extendShape (const QGeoCoordinate & coordinate )

此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。

This method used to extend the geo shape to also cover the coordinate coordinate .

It currently only works for QGeoCircle and QGeoRectangle , on which the functionality remains, now also accessible through QGeoCircle::extendCircle and QGeoRectangle::extendRectangle .

This method should therefore not be called on a generic QGeoShape any longer, as the behavior for other shape types is undefined.

注意: 此函数可以被援引,通过元对象系统和从 QML。见 Q_INVOKABLE .

另请参阅 QGeoRectangle::extendRectangle and QGeoCircle::extendCircle .