Skip to content

pencil.js / progress-pie / ProgressPieOptions

Interface: ProgressPieOptions ​

Defined in: progress-pie.ts:10

Progress pie options

Extends ​

Properties ​

PropertyTypeDescriptionOverridesInherited fromDefined in
cap?CanvasLineCapHow lines end-WidgetOptions.capcomponent.ts:85
clip| Component<ComponentOptions> | nullOther component used to clip the rendering-WidgetOptions.clipcontainer.ts:26
cursorstring | nullCursor to use when hover-WidgetOptions.cursorcomponent.ts:81
dashedboolean | number[]Should the line be dashed, you can also specify the dash pattern (ex: [4, 4] or Component.dashes.dots)-WidgetOptions.dashedcomponent.ts:79
fillStyleColor used to fill, set to null for transparent-WidgetOptions.fillcomponent.ts:73
foregroundStyleColor of the foreground elements-WidgetOptions.foregroundwidget.ts:13
joinCanvasLineJoinHow lines join between them-WidgetOptions.joincomponent.ts:83
opacitynumber | nullOpacity level from 0 to 1 (multiplied with its parents opacity, null means 1)-WidgetOptions.opacitycontainer.ts:16
origin| string | PositionDefinitionRelative offset (Rectangle based shapes also accept named origins like "center")-WidgetOptions.origincomponent.ts:87
radiusnumberSize of the pie--progress-pie.ts:14
rotationnumberRotation ratio from 0 to 1 (clockwise)-WidgetOptions.rotationcontainer.ts:18
rotationCenterPositionDefinitionCenter of rotation relative to this position-WidgetOptions.rotationCentercontainer.ts:20
scale| number | PositionDefinitionScaling ratio or a pair of value for horizontal and vertical scaling-WidgetOptions.scalecontainer.ts:22
shadowPartial<ShadowOptions>Set of options to set a shadow-WidgetOptions.shadowcomponent.ts:89
shownbooleanIs shown-WidgetOptions.showncontainer.ts:14
speednumberTransition speed between two value (0 mean no change, 1 mean instant change)--progress-pie.ts:16
strokeStyleColor used to stroke, set to null for transparent-WidgetOptions.strokecomponent.ts:75
strokeWidthnumberStroke line thickness in pixels-WidgetOptions.strokeWidthcomponent.ts:77
valuenumberInitial value (between 0 and 1)WidgetOptions.value-progress-pie.ts:12
zIndexnumberDepth ordering-WidgetOptions.zIndexcontainer.ts:24

Released under the MIT License.