enum

CrImage::Util::WatermarkPosition

Inherits Enum / Comparable / Value / Object

Watermark position on the image.

Predefined positions for watermark placement:

  • TopLeft : Upper left corner
  • TopRight : Upper right corner
  • BottomLeft : Lower left corner
  • BottomRight : Lower right corner (most common)
  • Center : Center of image
  • Custom : User-specified position (requires custom_point)

Constants

TopLeft = 0
TopRight = 1
BottomLeft = 2
BottomRight = 3
Center = 4
Custom = 5

Instance methods

bottom_left?

Returns true if this enum value equals BottomLeft

Source
bottom_right?

Returns true if this enum value equals BottomRight

Source
center?

Returns true if this enum value equals Center

Source
custom?

Returns true if this enum value equals Custom

Source
top_left?

Returns true if this enum value equals TopLeft

Source
top_right?

Returns true if this enum value equals TopRight

Source