angle property

num get angle

Gets or sets the default direction for tree growth.

The default value is 0; the value must be one of: 0, 90, 180, 270.

These values are in degrees, where 0 is along the positive X axis, and where 90 is along the positive Y axis.

This sets the #rootDefaults' property of the same name.

Implementation

_i2.num get angle => _i4.getProperty(
      this,
      'angle',
    );
set angle (num value)

Implementation

set angle(_i2.num value) {
  _i4.setProperty(
    this,
    'angle',
    value,
  );
}