[][src]Enum oox::shared::drawingml::simpletypes::PresetShadowVal

pub enum PresetShadowVal {
    TopLeftDropShadow,
    TopRightDropShadow,
    BackLeftPerspectiveShadow,
    BackRightPerspectiveShadow,
    BottomLeftDropShadow,
    BottomRightDropShadow,
    FrontLeftPerspectiveShadow,
    FrontRightPerspectiveShadow,
    TopLeftSmallDropShadow,
    TopLeftLargeDropShadow,
    BackLeftLongPerspectiveShadow,
    BackRightLongPerspectiveShadow,
    TopLeftDoubleDropShadow,
    BottomRightSmallDropShadow,
    FrontLeftLongPerspectiveShadow,
    FrontRightLongPerspectiveShadow,
    ThreeDOuterBoxShadow,
    ThreeDInnerBoxShadow,
    BackCenterPerspectiveShadow,
    FrontBottomShadow,
}

This simple type indicates one of 20 preset shadow types. Each enumeration value description illustrates the type of shadow represented by the value. Each description contains the parameters to the outer shadow effect represented by the preset, in addition to those attributes common to all prstShdw effects.

Variants

TopLeftDropShadow

No additional attributes specified.

TopRightDropShadow

No additional attributes specified.

BackLeftPerspectiveShadow

align = "b" ky = 40.89° sy = 50%

BackRightPerspectiveShadow

align = "b" kx = -40.89° sy = 50%

BottomLeftDropShadow

No additional attributes specified.

BottomRightDropShadow

No additional attributes specified.

FrontLeftPerspectiveShadow

align = "b" kx = 40.89° sy = -50%

FrontRightPerspectiveShadow

align = "b" kx = -40.89° sy = -50%

TopLeftSmallDropShadow

align = "tl" sx = 75% sy = 75%

TopLeftLargeDropShadow

align = "br" sx = 125% sy = 125%

BackLeftLongPerspectiveShadow

align = "b" kx = 40.89° sy = 50%

BackRightLongPerspectiveShadow

align = "b" kx = -40.89° sy = 50%

TopLeftDoubleDropShadow

Equivalent to two outer shadow effects.

Shadow 1: No additional attributes specified.

Shadow 2: color = min(1, shadow 1's color (0 <= r, g, b <= 1) + 102/255), per r, g, b component dist = 2 * shadow 1's distance

BottomRightSmallDropShadow

No additional attributes specified.

FrontLeftLongPerspectiveShadow

align = "b" kx = 40.89° sy = -50%

FrontRightLongPerspectiveShadow

align = "b" kx = -40.89° sy = -50%

ThreeDOuterBoxShadow

Equivalent to two outer shadow effects.

Shadow 1: No additional attributes specified.

Shadow 2: color = min(1, shadow 1's color (0 <= r, g, b <= 1) + 102/255), per r, g, b component dir = shadow 1's direction + 180°

ThreeDInnerBoxShadow

Equivalent to two outer shadow effects.

Shadow 1: No additional attributes specified.

Shadow 2: color = min(1, shadow 1's color (0 <= r, g, b <= 1) + 102/255), per r, g, b component dir = shadow 1's direction + 180°

BackCenterPerspectiveShadow

align = "b" sy = 50°

FrontBottomShadow

align = "b" sy = -100°

Trait Implementations

impl Clone for PresetShadowVal[src]

impl Copy for PresetShadowVal[src]

impl Debug for PresetShadowVal[src]

impl FromStr for PresetShadowVal[src]

type Err = ParseError

The associated error which can be returned from parsing.

impl PartialEq<PresetShadowVal> for PresetShadowVal[src]

impl StructuralPartialEq for PresetShadowVal[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.