Arc2D

Methods
1
Fields
11

Getting one

Arc2D.new(…)

Methods

MethodReturnsDescription
new(number, number, number, number, number, number, number)Arc2DThe arc of the frame at x, y, w wide and h high, from start through extent degrees; type is Arc2D.OPEN, CHORD or PIE (`…

Fields

FieldTypeDescription
xnumberThe frame's x, Arc2D.Double's public field.
ynumberThe frame's y, Arc2D.Double's public field.
widthnumberThe frame's width, Arc2D.Double's public field.
heightnumberThe frame's height, Arc2D.Double's public field.
startnumberThe start angle in degrees, Arc2D.Double's public field.
extentnumberThe angular extent in degrees, Arc2D.Double's public field.
OPENnumberArc2D.OPEN: the arc alone.
CHORDnumberArc2D.CHORD: closed by the chord.
PIEnumberArc2D.PIE: closed through the centre.
DoubleArc2DClassArc2D.Double: Arc2D itself, so Arc2D.Double.new(...) is Arc2D.new(...).
FloatArc2DClassArc2D.Float: Arc2D itself, so Arc2D.Float.new(...) is Arc2D.new(...).

Returned by

MethodReturnsDescription
Arc2DClass.newArc2DThe arc of the frame at x, y, w wide and h high, from start through extent degrees; type is Arc2D.OPEN, CHORD or PIE (`…

Method details

new

new: (number, number, number, number, number, number, number) -> Arc2D

The arc of the frame at x, y, w wide and h high, from start through extent degrees; type is Arc2D.OPEN, CHORD or PIE (Arc2D.Double.new(...) reaches it too).