Circle#
- class Drawing.Circle#
A circle. Created using
Drawing.add_circle().- center: Tuple#
Position of the center of the circle.
- Attribute:
Can be read or written
- Return type:
Tuple
- normal: Tuple#
Normal of the plane of the circle.
- Attribute:
Can be read or written
- Return type:
Tuple
- radius: number#
Radius of the circle, in meters.
- Attribute:
Can be read or written
- Return type:
number
- reference_frame: SpaceCenter.ReferenceFrame#
Reference frame for the positions of the object.
- Attribute:
Can be read or written
- Return type:
- visible: boolean#
Whether the object is visible.
- Attribute:
Can be read or written
- Return type:
boolean
- color: StdLib.ColorRGB#
The color of the path.
- Attribute:
Can be read or written
- Return type:
Note
For a path drawn with more than one color, this is the color at its start.
- colors: List#
The colors of the path, blended evenly from its start to its end.
- Attribute:
Can be read or written
- Return type:
List
Note
Throws an exception if the list is empty or holds more than 8 colors.
- thickness: number#
The thickness of the path.
- Attribute:
Can be read or written
- Return type:
number
- start_arrow: boolean#
Whether an arrow head is drawn at the start.
- Attribute:
Can be read or written
- Return type:
boolean
- end_arrow: boolean#
Whether an arrow head is drawn at the end.
- Attribute:
Can be read or written
- Return type:
boolean
- arrow_size: number#
The size of the arrow heads, relative to the thickness.
- Attribute:
Can be read or written
- Return type:
number
- dashed: boolean#
Whether the path is drawn as a dashed line.
- Attribute:
Can be read or written
- Return type:
boolean
- label: string#
Text drawn halfway along the path, facing the camera. Empty for no label.
- Attribute:
Can be read or written
- Return type:
string
- material: string#
Material used to render the object. Creates the material from a shader with the given name.
- Attribute:
Can be read or written
- Return type:
string
- remove()#
Remove the object.