Enum tiled::ObjectShape [] [src]

pub enum ObjectShape {
    Rect {
        width: f32,
        height: f32,
    },
    Ellipse {
        width: f32,
        height: f32,
    },
    Polyline {
        points: Vec<(f32, f32)>,
    },
    Polygon {
        points: Vec<(f32, f32)>,
    },
}

Variants

Fields of Rect

Fields of Ellipse

Fields of Polyline

Fields of Polygon

Trait Implementations

impl Debug for ObjectShape
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for ObjectShape
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Clone for ObjectShape
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for ObjectShape

impl Sync for ObjectShape