enum

CrImage::Font::VerticalAlign

Inherits Enum / Comparable / Value / Object

VerticalAlign specifies vertical text alignment within a bounding box.

Options:

  • Top : Align text to the top edge
  • Middle : Center text vertically
  • Bottom : Align text to the bottom edge

Constants

Top = 0
Middle = 1
Bottom = 2

Instance methods

bottom?

Returns true if this enum value equals Bottom

Source
middle?

Returns true if this enum value equals Middle

Source
top?

Returns true if this enum value equals Top

Source