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