gb.display.fillCircleHelper

From Gamebuino Wiki
Revision as of 2014-08-05T00:34:37 by Matrix828 (talk | contribs) (Creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

Draws and fills half of a circle at a specified location. The color used is defined using gb.display.setColor(). If you specify values that cause parts of the circle to be off screen, then they will not be rendered.

Syntax

gb.display.fillCircleHelper(x, y, r, corner, delta);

Parameters

  • x: horizontal coordinate of the centre of the circle.
  • y: vertical coordinate of the centre of the circle.
  • w: radius of the circle.
  • corner: which part to draw -
    • 1: left half
    • 2: right half
  • delta: extra length added in between each quarter (EG, larger delta = longer semicircle)

Returns

none

Example

See also