Renderables
Circle
A circle around its position, of a given radius.
Object type renderable pins
A circle is drawn around its position, with the given radius. Like
every Shape, it has a fill and a stroke.
Hierarchy
- Parents
Shape→Renderable- Subtypes
- None
Properties
| Name | Type | Notes |
|---|---|---|
| position | Point | from Renderable |
| rotation | number | from Renderable |
| scale | number | from Renderable |
| opacity | number | read-only from Renderable |
| blendMode | BlendMode | read-only from Renderable |
| fill | Paint | from Shape |
| stroke | Stroke | from Shape |
| radius | number |
Nodes
Break Circle
Node id break/Circle
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| object | Circle | type default |
Outputs
Make Circle
Node id make/Circle
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| position | Point | { x: 0, y: 0 } | |
| rotation | number | 0 | |
| scale | number | 1 | |
| fill | Paint | { r: 128, g: 128, b: 128, a: 1 } | |
| stroke | Stroke | { width: 1, color: { r: 0, g: 0, b: 0, a: 1 }, dashStyle: "SOLID", caps: "round" } | |
| radius | number | 100 |
Outputs
| Name | Type | Notes |
|---|---|---|
| object | Circle |
Set Circle
Node id set/Circle
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| object | Circle | type default | |
| position | Point | — | |
| rotation | number | — | |
| scale | number | — | |
| fill | Paint | — | |
| stroke | Stroke | — | |
| radius | number | — |
Outputs
| Name | Type | Notes |
|---|---|---|
| object | Circle |
Lerp Circle
Node id lerp/Circle
Inputs
Outputs
| Name | Type | Notes |
|---|---|---|
| result | Circle |
Notes
- Default. Make Circle gives a circle of radius 100 at the origin.
- Scale.
scalemultiplies the radius as drawn;radiusitself is unchanged.
Lerp
Lerp Circle blends position, rotation, scale, radius, fill and stroke.
t is clamped to 0, 1.