Generates a radial bar geometry with the specified parameters.
Namespace: MindFusion.Gauges
File: GeometryFactory.js
JavaScript Copy Code |
---|
function createRadialGeometry (centerX, centerY, startInnerRadius, startOuterRadius, endInnerRadius, endOuterRadius, startAngle, endAngle, capStart, capEnd, strokeInner, strokeOuter) |
Number. The x-coordinate of the generated geometry.
Number. The y-coordinate of the generated geometry.
Number. The radius of the start point of the inner outline of the bar.
Number. The radius of the start point of the outer outline of the bar.
Number. The radius of the end point of the inner outline of the bar.
Number. The radius of the end point of the outer outline of the bar.
Number. The start angle of the radial bar.
Number. The end angle of the radial bar.
Boolean. A flag indicating whether to draw a stroke at the start of the bar.
Boolean. A flag indicating whether to draw a stroke at the end of the bar.
Boolean. A flag indicating whether to draw a stroke at the inner curve of the bar.
Boolean. A flag indicating whether to draw a stroke at the outer curve of the bar.
A PathFigure representing a radial bar with the specified parameters.