verticalAlignment property

Spot get verticalAlignment

Gets or sets the vertical alignment Spot of this TextBlock, used when the TextBlock has more available vertical space than it needs to draw all lines.

The default value is Spot.Top, which aligns the TextBlock to the top of its available space.

The #textAlign is often used along with this property to specify where the should be positioned in its available space.

This does not affect TextBlock coordinates or bounds, it only affects where text is drawn within the given area.

Implementation

_i3.Spot get verticalAlignment => _i4.getProperty(
      this,
      'verticalAlignment',
    );
set verticalAlignment (Spot value)

Implementation

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