Lines Matching refs:fill
175 * Value function for fill attribute
358 * Adds a fill to the shape node.
361 * @param {Object} fill Properties of the `fill` attribute.
364 _setFillProps: function(fill)
367 color = fill.color,
369 type = fill.type;
376 opacity = fill.opacity;
689 * Completes a stroke and/or fill operation on the context.
712 context.fill();
1018 * Contains information about the fill of the shape.
1020 * <dt>color</dt><dd>The color of the fill.</dd>
1021 * <dt>opacity</dt><dd>Number between 0 and 1 that indicates the opacity of the fill. The default value is 1.</dd>
1022 * <dt>type</dt><dd>Type of fill.
1024 * <dt>solid</dt><dd>Solid single color fill. (default)</dd>
1025 * <dt>linear</dt><dd>Linear gradient fill.</dd>
1026 * <dt>radial</dt><dd>Radial gradient fill.</dd>
1030 * <p>If a `linear` or `radial` is specified as the fill type. The following additional property is used:
1057 * @config fill
1060 fill: {
1065 var fill,
1066 tmpl = this.get("fill") || this._getDefaultFill();
1067 fill = (val) ? Y.merge(tmpl, val) : null;
1068 if(fill && fill.color)
1070 if(fill.color === undefined || fill.color == "none")
1072 fill.color = null;
1075 this._setFillProps(fill);
1076 return fill;