This is a simple idea allowing the ability to draw Circles or Circle segments as GUI Objects.
The method introduces two new properties,
Integer CircleDegrees
Boolean FillToChord
A circle is draw from 0 Degrees to the CircleDegrees. The line between the startpoint (0) and endpoint (CircleDegrees) [aka the Chord] is then filled in based on the FillToChord property.
Circle dimensions such as the diameter are decided by the GUI Object's Size propety. Warps accordingly.
This is explained a bit far-fetched but is actually rather simple, and looking at the example album below should clarify this.
Post Examples: /a/2ctJY
Can anyone see any improvements or detriments to this method? |