New to Kendo UI for jQuery? Start a free 30-day trial

Options

constructor parameters

The configuration of this GradientStop.

options

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

var gradientStop = new draw.GradientStop({
    offset: 0.5,
    color: "#ff0000",
    opacity: 0.8
});

console.log(gradientStop.options.color); // "#ff0000"
</script>
Not finding the help you need?
Contact Support