Class: GrabzIt::WaterMark

Inherits:
Object
  • Object
show all
Defined in:
lib/grabzit/watermark.rb

Overview

Author:

  • GrabzIt

Instance Method Summary collapse

Instance Method Details

#formatString

Returns the format of the watermark.

Returns:

  • (String)

    the format of the watermark



26
27
28
# File 'lib/grabzit/watermark.rb', line 26

def format
	@Format
end

#identifierString

Returns the identifier of the watermark.

Returns:

  • (String)

    the identifier of the watermark



14
15
16
# File 'lib/grabzit/watermark.rb', line 14

def identifier
	@Identifier
end

#xPositionInteger

Returns the horizontal postion of the watermark. 0 = Left, 1 = Center, 2 = Right.

Returns:

  • (Integer)

    the horizontal postion of the watermark. 0 = Left, 1 = Center, 2 = Right



18
19
20
# File 'lib/grabzit/watermark.rb', line 18

def xPosition
	@XPosition
end

#yPositionInteger

Returns the vertical postion of the watermark. 0 = Top, 1 = Middle, 2 = Bottom.

Returns:

  • (Integer)

    the vertical postion of the watermark. 0 = Top, 1 = Middle, 2 = Bottom



22
23
24
# File 'lib/grabzit/watermark.rb', line 22

def yPosition
	@YPosition
end