optionskendo.drawing.OptionsStore

The configuration options of the gradient stop.

Example

<div id="surface"></div>
<script>
var draw = kendo.drawing;
var surface = draw.Surface.create($("#surface"));

var gradientStop = new draw.GradientStop({
    offset: 0.7,
    color: "#336699",
    opacity: 0.9
});

// Access the options store
var options = gradientStop.options;
console.log(options.offset); // 0.7
console.log(options.color); // "#336699"
console.log(options.opacity); // 0.9

// The options store provides access to all configuration properties
console.log(typeof options); // "object"
</script>
In this article
options
Not finding the help you need?
Contact Support