opacityNumber

The element opacity. Inherited from Element.opacity

Example

<div id="surface"></div>
<script>
    var draw = kendo.drawing;
    var geom = kendo.geometry;

    var circleGeometry = new geom.Circle([100, 100], 35);
    var circle = new draw.Circle(circleGeometry, {
        opacity: 0.5,
        fill: { color: "purple" },
        stroke: { color: "darkpurple", width: 2 }
    });

    var surface = draw.Surface.create($("#surface"));
    surface.draw(circle);
</script>
In this article
opacity
Not finding the help you need?
Contact Support