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 .