New to Kendo UI for Vue? Start a free 30-day trial
An arc shape.
(geometry: Arc, options?: ShapeOptions)
Creates a new Arc instance with the specified configuration.
Arc
The geometric object that defines the arc parameters.
ShapeOptions
The configuration options.
|
|
|---|
|
Returns the bounding box of the element with applied transformations.
|
| Returns | |
|---|
Rect
|
- The bounding box of the element with transformations applied.
|
|
|
|
|---|
|
Gets the class attribute of the element. The class will be rendered only for SVG output.
|
| Returns | |
|---|
string
|
the value of the class attribute of the element.
|
|
|
|
|---|
|
Sets the class attribute of the element. The class will be rendered only for SVG output.
|
| Parameters | | |
|---|
|
className
|
string
|
The value of the class attribute.
|
|
|
|
|---|
|
Gets the clipping path for this element.
|
| Returns | |
|---|
Path
|
- The clipping path for this element.
|
|
|
|
|---|
|
Sets the clipping path for this element. The Path instance will be monitored for changes. Can be replaced by calling the clip method.
The following example demonstrates how to set a clipping path on a Circle.
The following example demonstrates how to clear a clipping path.
|
| Parameters | | |
|---|
|
clip
|
Path
|
The element clipping path.
|
|
|
|
|---|
|
Returns the bounding box of the element with clipping and transformations applied. This is the rectangle that will fit around the actual rendered element.
|
| Returns | |
|---|
Rect
|
- The bounding box of the element with clipping and transformations applied.
|
|
|
|
|---|
|
Returns true if the shape contains the specified point.
|
| Parameters | | |
|---|
|
point
|
Point
|
The point that should be checked.
|
|
| Returns | |
|---|
boolean
|
value indicating if the shape contains the point.
|
|
|
|
|---|
|
Gets the geometry of the arc.
|
| Returns | |
|---|
Arc
|
- The current geometry of the arc.
|
|
|
|
|---|
|
Sets the geometry of the arc.
|
| Parameters | | |
|---|
|
value
|
Arc
|
The new geometry to use.
|
|
|
|
|---|
|
Gets the element opacity.
|
| Returns | |
|---|
number
|
The current element opacity.
|
|
|
|
|---|
|
Sets the opacity of the element.
|
| Parameters | | |
|---|
|
opacity
|
number
|
The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
|
|
|
|
|---|
|
Sets the stroke of the Shape.
|
|
|
| Returns | |
|---|
Arc
|
- The current instance to allow chaining.
|
|
|
|
|---|
|
Gets the transformation of the element.
|
|
|
|
|
|---|
|
Sets the transformation of the element.
|
| Parameters | | |
|---|
|
transform
|
Transformation
|
The transformation to apply to the element.
|
|
|
|
|---|
|
Gets the visibility of the element.
|
| Returns | |
|---|
boolean
|
true if the element is visible. Otherwise, returns false.
|
|
|
|
|---|
|
Sets the visibility of the element.
|
| Parameters | | |
|---|
|
visible
|
boolean
|
A flag which indicates if the element will be visible.
|
|