Arc shape options object that extends OBJ_Generic (without drawType) and OBJ_FigurePrimitive
drawType
radius
number
sides
20
startAngle
0
angle
1
line
drawBorderBuffer
(number | TypeParsableBorder) & TypeParsableBorder
To test examples, append them to the boilerplate
// Simple fillfigure.add({ make: 'arc', angle: Math.PI * 2 / 3, radius: 1,}); Copy
// Simple fillfigure.add({ make: 'arc', angle: Math.PI * 2 / 3, radius: 1,});
// Fill to centerfigure.add({ make: 'arc', angle: Math.PI * 2 / 3, startAngle: Math.PI / 3, radius: 1, fillCenter: true,}); Copy
// Fill to centerfigure.add({ make: 'arc', angle: Math.PI * 2 / 3, startAngle: Math.PI / 3, radius: 1, fillCenter: true,});
// Arc linefigure.add({ make: 'arc', angle: Math.PI / 3, radius: 1, line: { width: 0.05, widthIs: 'inside' },}); Copy
// Arc linefigure.add({ make: 'arc', angle: Math.PI / 3, radius: 1, line: { width: 0.05, widthIs: 'inside' },});
// Arc dashed linefigure.add({ make: 'arc', angle: Math.PI * 3 / 2, radius: 1, sides: 100, line: { width: 0.05, dash: [0.3, 0.1, 0.1, 0.1] },});@interface Copy
// Arc dashed linefigure.add({ make: 'arc', angle: Math.PI * 3 / 2, radius: 1, sides: 100, line: { width: 0.05, dash: [0.3, 0.1, 0.1, 0.1] },});@interface
Arc shape options object that extends OBJ_Generic (without
drawType) and OBJ_FigurePrimitiveradiusnumbersidesnumber— (20)startAnglenumber— (0)anglenumber— (1)lineOBJ_LineStyleSimple — line style optionsdrawBorderBuffer(number | TypeParsableBorder) & TypeParsableBorder— override the OBJ_GenericdrawBorderBufferwithnumberto make the drawBorderBuffer a ellipse that isnumberthicker around its border (0)See
To test examples, append them to the boilerplate
Example
Example
Example
Example