# Geometry

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-livecharts/scene/enum-geometry/

**enum** · [`ferroui-livecharts`](/docs/0.5.0/api/ferroui-livecharts/) · v0.5.0

```rust
enum Geometry
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/scene.rs#L98)

## Members

- [`Line`](#variant-line)
- [`Polyline`](#variant-polyline)
- [`Polygon`](#variant-polygon)
- [`Rectangle`](#variant-rectangle)
- [`Ellipse`](#variant-ellipse)
- [`Path`](#variant-path)
- [`Text`](#variant-text)

<a id="variant-line"></a>

### Line

```rust
Line { start: ferroui_base::Point, end: ferroui_base::Point }
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/scene.rs#L99)

<a id="variant-polyline"></a>

### Polyline

```rust
Polyline(Vec<ferroui_base::Point>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/scene.rs#L103)

<a id="variant-polygon"></a>

### Polygon

```rust
Polygon(Vec<ferroui_base::Point>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/scene.rs#L104)

<a id="variant-rectangle"></a>

### Rectangle

```rust
Rectangle { rect: ferroui_base::Rect, radius: f64 }
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/scene.rs#L105)

<a id="variant-ellipse"></a>

### Ellipse

```rust
Ellipse(ferroui_base::Rect)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/scene.rs#L109)

<a id="variant-path"></a>

### Path

```rust
Path(Vec<PathCommand>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/scene.rs#L110)

<a id="variant-text"></a>

### Text

```rust
Text { origin: ferroui_base::Point, text: String, size: f64, rotation: f64, anchor: TextAnchor }
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/scene.rs#L111)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
