enum

CrImage::Font::HorizontalAlign

Inherits Enum / Comparable / Value / Object

HorizontalAlign specifies horizontal text alignment within a bounding box.

Options:

  • Left : Align text to the left edge
  • Center : Center text horizontally
  • Right : Align text to the right edge

Constants

Left = 0
Center = 1
Right = 2

Instance methods

center?

Returns true if this enum value equals Center

Source
left?

Returns true if this enum value equals Left

Source
right?

Returns true if this enum value equals Right

Source