Path: blob/trunk/third_party/closure/goog/graphics/fill.js
2868 views
// Copyright 2007 The Closure Library Authors. All Rights Reserved.1//2// Licensed under the Apache License, Version 2.0 (the "License");3// you may not use this file except in compliance with the License.4// You may obtain a copy of the License at5//6// http://www.apache.org/licenses/LICENSE-2.07//8// Unless required by applicable law or agreed to in writing, software9// distributed under the License is distributed on an "AS-IS" BASIS,10// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.11// See the License for the specific language governing permissions and12// limitations under the License.131415/**16* @fileoverview Represents a fill goog.graphics.17* @author [email protected] (Erik Arvidsson)18*/192021goog.provide('goog.graphics.Fill');22232425/**26* Creates a fill object27* @constructor28* @deprecated goog.graphics is deprecated. It existed to abstract over browser29* differences before the canvas tag was widely supported. See30* http://en.wikipedia.org/wiki/Canvas_element for details.31*/32goog.graphics.Fill = function() {};333435/**36* @return {string} The start color of a gradient fill.37*/38goog.graphics.Fill.prototype.getColor1 = goog.abstractMethod;394041/**42* @return {string} The end color of a gradient fill.43*/44goog.graphics.Fill.prototype.getColor2 = goog.abstractMethod;454647