Lines Matching refs:fill
495 * Ends a fill and stroke
512 * Returns a linear gradient fill
520 fill = this.get("fill"),
521 stops = fill.stops,
532 r = fill.rotation,
592 * Returns a radial gradient fill
600 fill = this.get("fill"),
601 r = fill.r,
602 fx = fill.fx,
603 fy = fill.fy,
604 stops = fill.stops,
926 * Value function for fill attribute
1109 * Adds a fill to the shape node.
1112 * @param {Object} fill Properties of the `fill` attribute.
1115 _setFillProps: function(fill)
1118 color = fill.color,
1120 type = fill.type;
1127 opacity = fill.opacity;
1440 * Completes a stroke and/or fill operation on the context.
1463 context.fill();
1769 * Contains information about the fill of the shape.
1771 * <dt>color</dt><dd>The color of the fill.</dd>
1772 * <dt>opacity</dt><dd>Number between 0 and 1 that indicates the opacity of the fill. The default value is 1.</dd>
1773 * <dt>type</dt><dd>Type of fill.
1775 * <dt>solid</dt><dd>Solid single color fill. (default)</dd>
1776 * <dt>linear</dt><dd>Linear gradient fill.</dd>
1777 * <dt>radial</dt><dd>Radial gradient fill.</dd>
1781 * <p>If a `linear` or `radial` is specified as the fill type. The following additional property is used:
1808 * @config fill
1811 fill: {
1816 var fill,
1817 tmpl = this.get("fill") || this._getDefaultFill();
1818 fill = (val) ? Y.merge(tmpl, val) : null;
1819 if(fill && fill.color)
1821 if(fill.color === undefined || fill.color == "none")
1823 fill.color = null;
1826 this._setFillProps(fill);
1827 return fill;