Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
seleniumhq
GitHub Repository: seleniumhq/selenium
Path: blob/trunk/third_party/closure/goog/graphics/fill.js
2868 views
1
// Copyright 2007 The Closure Library Authors. All Rights Reserved.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS-IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
16
/**
17
* @fileoverview Represents a fill goog.graphics.
18
* @author [email protected] (Erik Arvidsson)
19
*/
20
21
22
goog.provide('goog.graphics.Fill');
23
24
25
26
/**
27
* Creates a fill object
28
* @constructor
29
* @deprecated goog.graphics is deprecated. It existed to abstract over browser
30
* differences before the canvas tag was widely supported. See
31
* http://en.wikipedia.org/wiki/Canvas_element for details.
32
*/
33
goog.graphics.Fill = function() {};
34
35
36
/**
37
* @return {string} The start color of a gradient fill.
38
*/
39
goog.graphics.Fill.prototype.getColor1 = goog.abstractMethod;
40
41
42
/**
43
* @return {string} The end color of a gradient fill.
44
*/
45
goog.graphics.Fill.prototype.getColor2 = goog.abstractMethod;
46
47