class GrabzIt::WaterMark

This class represents the custom watermarks stored in GrabzIt @version 3.0 @author GrabzIt

Public Class Methods

new(identifier = '', xPosition = 0, yPosition = 0, format = '') click to toggle source

@!visibility private

# File lib/grabzit/watermark.rb, line 7
def initialize(identifier = '', xPosition = 0, yPosition = 0, format = '')
        @Identifier = identifier
        @XPosition = xPosition
        @YPosition = yPosition
        @Format = format
end

Public Instance Methods

format() click to toggle source

@return [String] the format of the watermark

# File lib/grabzit/watermark.rb, line 26
def format
        @Format
end
identifier() click to toggle source

@return [String] the identifier of the watermark

# File lib/grabzit/watermark.rb, line 14
def identifier
        @Identifier
end
xPosition() click to toggle source

@return [Integer] the horizontal postion of the watermark. 0 = Left, 1 = Center, 2 = Right

# File lib/grabzit/watermark.rb, line 18
def xPosition
        @XPosition
end
yPosition() click to toggle source

@return [Integer] the vertical postion of the watermark. 0 = Top, 1 = Middle, 2 = Bottom

# File lib/grabzit/watermark.rb, line 22
def yPosition
        @YPosition
end