fn orientation(&mut self, orientation: f32) -> &mut Self {
        if orientation < 0.0 || orientation > 360.0 {
            self.add_validation_error("orientation", "Must be between 0 and 360")
        }
        Attributes::orientation(self.get_attributes_mut(), orientation);
        self
    }
// TODO: constrain to 0 - 360. Docs say min is 360 which should be max right?
/// Used only if rotate is not defined.
/// Default: 0.0 and minimum: 360.0
constrain to 0 - 360. Docs say min is 360 which should be max right.
Used only if rotate is not defined.
constrain to 0 - 360 . Docs say min is 360 which should be max right . Used only if rotate is not defined .
fn orientation(&mut self, orientation: f32) -> &mut Self {
        if orientation < 0.0 || orientation > 360.0 {
            self.add_validation_error("orientation", "Must be between 0 and 360")
        }
        Attributes::orientation(self.get_attributes_mut(), orientation);
        self
    }
fn orientation ( & mut self , orientation : f32 ) -> & mut Self { if orientation < 0.0 || orientation > 360.0 { self . add_validation_error ( " " , " " ) } Attributes :: orientation ( self . get_attributes_mut ( ) , orientation ) ; self }
TODO: constrain to 0 - 360.
TODO : constrain to 0 - 360 .
&mut self
orientation
f32
&mut self
orientation
f32