title | page_title |
---|---|
Circle |
API reference for Kendo UI Drawing API Circle |
Draws a circle with set geometry, fill and stroke.
<div id="surface"></div>
<script>
var draw = kendo.drawing;
var geom = kendo.geometry;
var circleGeometry = new geom.Circle([100, 100], 20);
var circle = new draw.Circle(circleGeometry).stroke("red", 1);
var surface = draw.Surface.create($("#surface"));
surface.draw(circle);
</script>
The geometric object that defines the circle center and radius.
The configuration options.
The element clipping path. Inherited from Element.clip
The fill options of the shape.
The element opacity. Inherited from Element.opacity
The stroke options of the shape.
The transformation to apply to this element. Inherited from Element.transform
A flag, indicating if the element is visible. Inherited from Element.visible
Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
kendo.geometry.Rect
The bounding box of the element with transformations applied.
Gets or sets the element clipping path. Inherited from Element.clip
The element clipping path.
kendo.drawing.Path
The current element clipping path.
Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
kendo.geometry.Rect
The bounding box of the element with clipping transformations applied.
Gets or sets the circle geometry.
The new geometry to use.
kendo.geometry.Circle
The current circle geometry.
Sets the shape fill.
The fill color to set.
The fill opacity to set.
kendo.drawing.Circle
The current instance to allow chaining.
Gets or sets the element opacity. Inherited from Element.opacity
If set, the stroke and fill opacity will be multiplied by the element opacity.
The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
Number
The current element opacity.
Sets the shape stroke.
The stroke color to set.
The stroke width to set.
The stroke opacity to set.
kendo.drawing.Circle
The current instance to allow chaining.
Gets or sets the transformation of the element. Inherited from Element.transform
The transformation to apply to the element.
kendo.geometry.Transformation
The current transformation on the element.
Gets or sets the visibility of the element. Inherited from Element.visible
A flag indicating if the element should be visible.
Boolean
true if the element is visible; false otherwise.