Skip to content

Object Ellipse

XOYZ69 edited this page Sep 6, 2023 · 3 revisions

The ellipse object is used to draw ellipses or circles. For circles just set x & y to the same amount.

Example

The ellipse object looks as the following:

{
    "type":             "ellipse",
    "desc":             "Some Ellipse",
    "x":                0,
    "y":                0,
    "height":           0,
    "width":            0,
    "color":            "#000000",
    "logic":            null
}

Parameters

Parameter Description Default Value
type Defines the type of the object you are using and is mandatory for the interpreter to work. -
desc Sets a description for your object that can help your differentiate between different objects or can explain what this specific object does. This parameter has no further impact on your design. "Some Ellipse"
x Sets the center x coordinate of your object in pixel 0
y Sets the center y coordinate of your object in pixel 0
height Sets the height of the ellipse in pixel. 0
width Sets the width of the ellipse in pixel. 0
color Sets the fill color of the ellipse. #000000
logic Apply logic for to an object. For more information on how logic works look into the logic section. null

Clone this wiki locally