typescript-closure-tools
Version:
Command-line tools to convert closure-style JSDoc annotations to typescript, and to convert typescript sources to closure externs files
30 lines (23 loc) • 895 B
TypeScript
/// <reference path="../../../globals.d.ts" />
declare module goog.graphics {
class Fill extends Fill__Class { }
/** Fake class which should be extended to avoid inheriting static properties */
class Fill__Class {
/**
* Creates a fill object
* @constructor
* @deprecated goog.graphics is deprecated. It existed to abstract over browser
* differences before the canvas tag was widely supported. See
* http://en.wikipedia.org/wiki/Canvas_element for details.
*/
constructor();
/**
* @return {string} The start color of a gradient fill.
*/
getColor1(): string;
/**
* @return {string} The end color of a gradient fill.
*/
getColor2(): string;
}
}