Class: GrabzIt::WaterMark
- Inherits:
-
Object
- Object
- GrabzIt::WaterMark
- Defined in:
- lib/grabzit/watermark.rb
Overview
Instance Method Summary collapse
-
#format ⇒ String
The format of the watermark.
-
#identifier ⇒ String
The identifier of the watermark.
-
#xPosition ⇒ Integer
The horizontal postion of the watermark.
-
#yPosition ⇒ Integer
The vertical postion of the watermark.
Instance Method Details
#format ⇒ String
Returns the format of the watermark.
26 27 28 |
# File 'lib/grabzit/watermark.rb', line 26 def format @Format end |
#identifier ⇒ String
Returns the identifier of the watermark.
14 15 16 |
# File 'lib/grabzit/watermark.rb', line 14 def identifier @Identifier end |
#xPosition ⇒ Integer
Returns 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 |
#yPosition ⇒ Integer
Returns 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 |