geometry property
Polygon barrier's geometry.
The polygon geometry of a Polygon barrier.
Implementation
Polygon? get geometry {
final objectHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_PolygonBarrier_getGeometry(_handle, errorHandler);
});
return Polygon._fromHandle(objectHandle);
}
Implementation
set geometry(Polygon? value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_PolygonBarrier_setGeometry(
_handle, value?._handle ?? ffi.nullptr, errorHandler);
});
}