﻿function TomatoOverlay(position, xaml)
{
    this.Position = position;
    this.Xaml = xaml;
    this.ToolName = "Tomato";
}

TomatoOverlay.prototype.toString = function()
{
    return "TomatoOverlay";
}

TomatoOverlay.prototype.CreateKeyFrame = function(page)
{
    return null;
}


TomatoOverlay.prototype.GetShapeXaml = function(name, keyFrames, hyperlink)
{
    var xaml = '\t<Canvas x:Name="' + name + '" Canvas.Left="' + this.Position.X + '" Canvas.Top="' + this.Position.Y + '" Loaded="LoadTagXaml" Tag="Tomato.xaml"/>\n';
    
    return xaml;
}

TomatoOverlay.prototype.GetAnimationXaml = function(overlay)
{
    return "";
}
