geometry property
override
The geometry defines the shape and location of the GeoElement.
Implementation
@override
Geometry? get geometry {
final objectHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_Graphic_getGeometry(_handle, errorHandler);
});
return Geometry._fromHandle(objectHandle);
}
override
Implementation
@override
set geometry(Geometry? value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_Graphic_setGeometry(
_handle, value?._handle ?? ffi.nullptr, errorHandler);
});
}