geometry property

Geometry? get geometry

Gets or sets the Shape's Geometry that defines the Shape's figure. Setting a geometry is not necessary if a #figure is specified, as that will construct a geometry instead.

Setting this geometry property will freeze the supplied Geometry.

Setting this geometry property always overrides any set figure. The default value is null.

Implementation

_i3.Geometry? get geometry => _i4.getProperty(
      this,
      'geometry',
    );
set geometry (Geometry? value)

Implementation

set geometry(_i3.Geometry? value) {
  _i4.setProperty(
    this,
    'geometry',
    value ?? _i5.undefined,
  );
}