propertyName property

String get propertyName

Gets or sets the name of the property to animate on the target GraphObject. The default value is set during constructor initialization.

You can only specify properties that exist on the GraphObject, and are also registered with AnimationManager.defineAnimationEffect. By default these properties are the same as the list of possible Animation effects:

  • "position"
  • "location" (on Parts)
  • "scale"
  • "opacity"
  • "angle"
  • "desiredSize"
  • "width"
  • "height"
  • "background"
  • "fill" (on Shapes)
  • "strokeWidth" (on Shapes)
  • "strokeDashOffset" (on Shapes)
  • "stroke" (on Shapes, TextBlocks)

Examples of defining additional properties by adding animation effects are given in the Introduction Page on Animations.

Implementation

_i2.String get propertyName => _i4.getProperty(
      this,
      'propertyName',
    );
set propertyName (String value)

Implementation

set propertyName(_i2.String value) {
  _i4.setProperty(
    this,
    'propertyName',
    value,
  );
}