# PropertyValueShape

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-designer-tools/enum-propertyvalueshape/

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

```rust
enum PropertyValueShape
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/property_values.rs#L8)

## Members

- [`Point`](#variant-point)
- [`Size`](#variant-size)
- [`Vector`](#variant-vector)
- [`Rect`](#variant-rect)
- [`Matrix`](#variant-matrix)
- [`RelativePoint`](#variant-relativepoint)
- [`RelativeRect`](#variant-relativerect)
- [`CornerRadius`](#variant-cornerradius)
- [`TimeSpan`](#variant-timespan)
- [`Duration`](#variant-duration)
- [`FontFamily`](#variant-fontfamily)
- [`Uri`](#variant-uri)
- [`NumberList`](#variant-numberlist)
- [`components`](#function-components)
- [`relative`](#function-relative)
- [`parse_components`](#function-parse_components)
- [`validate`](#function-validate)
- [`format_components`](#function-format_components)

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

### Point

```rust
Point
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/property_values.rs#L9)

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

### Size

```rust
Size
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/property_values.rs#L10)

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

### Vector

```rust
Vector
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/property_values.rs#L11)

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

### Rect

```rust
Rect
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/property_values.rs#L12)

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

### Matrix

```rust
Matrix
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/property_values.rs#L13)

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

### RelativePoint

```rust
RelativePoint
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/property_values.rs#L14)

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

### RelativeRect

```rust
RelativeRect
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/property_values.rs#L15)

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

### CornerRadius

```rust
CornerRadius
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/property_values.rs#L16)

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

### TimeSpan

```rust
TimeSpan
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/property_values.rs#L17)

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

### Duration

```rust
Duration
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/property_values.rs#L18)

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

### FontFamily

```rust
FontFamily
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/property_values.rs#L19)

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

### Uri

```rust
Uri
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/property_values.rs#L20)

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

### NumberList

```rust
NumberList
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/property_values.rs#L21)

<a id="function-components"></a>

### components

```rust
fn components(self: Self) -> &'static [&'static str]
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/property_values.rs#L25)

<a id="function-relative"></a>

### relative

```rust
fn relative(self: Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/property_values.rs#L36)

<a id="function-parse_components"></a>

### parse_components

```rust
fn parse_components(self: Self, source: &str) -> Result<(Vec<f64>, bool)>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/property_values.rs#L40)

<a id="function-validate"></a>

### validate

```rust
fn validate(self: Self, source: &str) -> Result<()>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/property_values.rs#L91)

<a id="function-format_components"></a>

### format_components

```rust
fn format_components(self: Self, values: &[f64], percent: bool) -> Result<String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/property_values.rs#L122)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `DeserializeOwned`
- `Clone`
- `Copy`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Serialize`
- `Deserialize<'de>`

## Availability

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