[][src]Struct oox::shared::drawingml::shapeprops::BlurEffect

pub struct BlurEffect {
    pub radius: Option<PositiveCoordinate>,
    pub grow: Option<bool>,
}

This element specifies a blur effect that is applied to the entire shape, including its fill. All color channels, including alpha, are affected.

Fields

radius: Option<PositiveCoordinate>

Specifies the radius of blur.

Defaults to 0

grow: Option<bool>

Specifies whether the bounds of the object should be grown as a result of the blurring. True indicates the bounds are grown while false indicates that they are not.

With grow set to false, the blur effect does not extend beyond the original bounds of the object

With grow set to true, the blur effect can extend beyond the original bounds of the object

Defaults to true

Methods

impl BlurEffect[src]

pub fn from_xml_element(xml_node: &XmlNode) -> Result<Self>[src]

Trait Implementations

impl Clone for BlurEffect[src]

impl Debug for BlurEffect[src]

impl Default for BlurEffect[src]

impl PartialEq<BlurEffect> for BlurEffect[src]

impl StructuralPartialEq for BlurEffect[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.