isShadowed property

bool isShadowed

Gets or sets whether this part will draw shadows. The initial value is false.

By default, setting this property to true will attempt to draw shadows only on the GraphObjects in this Part that appear to act as background objects, and not on GraphObjects that appear to be in front of other GraphObjects in the Part.

To finely control shadows, you may need to set GraphObject#shadowVisible on elements of this Part, so that they explicitly do or do not get shadowed accordingly.

The color of the shadow is determined by #shadowColor. The opacity of the shadow color is multiplied by the opacity of the shadowed object's brush. So, for example, if you have a Panel with a GraphObject#background that is "transparent", the shadow that is drawn for the panel will also be transparent.

The direction of the shadow that is cast is controlled by #shadowOffset, and is independent of the Diagram#scale. The sharpness of the shadow is controlled by #shadowBlur.

Implementation

_i2.bool get isShadowed => _i4.getProperty(
      this,
      'isShadowed',
    );
void isShadowed=(bool value)

Implementation

set isShadowed(_i2.bool value) {
  _i4.setProperty(
    this,
    'isShadowed',
    value,
  );
}