alignment property

Spot alignment

Gets or sets the alignment Spot of this GraphObject used in Panel layouts, to determine where in the area allocated by the panel this object should be placed.

The default value is Spot.Default, which lets the Panel determine the Spot using Panel#defaultAlignment. If that property is also Spot.Default, then the alignment spot will be different depending on the Panel type.

The #alignmentFocus is often used along with this property to specify where this object should be positioned in a Panel.

A Spot.Default is equivalent to Spot.Center in Spot, Auto, Horizontal, and Vertical panels. For examples of alignments in different panels, see the Introduction page on Panels.

Implementation

_i3.Spot get alignment => _i4.getProperty(
      this,
      'alignment',
    );
void alignment=(Spot value)

Implementation

set alignment(_i3.Spot value) {
  _i4.setProperty(
    this,
    'alignment',
    value,
  );
}