[−][src]Struct oox::shared::drawingml::shapeprops::ReflectionEffect
This element specifies a reflection effect.
Fields
blur_radius: Option<PositiveCoordinate>
Specifies the blur radius.
Defaults to 0
start_opacity: Option<PositiveFixedPercentage>
Starting reflection opacity.
Defaults to 100_000
start_position: Option<PositiveFixedPercentage>
Specifies the start position (along the alpha gradient ramp) of the start alpha value.
Defaults to 0
end_opacity: Option<PositiveFixedPercentage>
Specifies the ending reflection opacity.
Defaults to 0
end_position: Option<PositiveFixedPercentage>
Specifies the end position (along the alpha gradient ramp) of the end alpha value.
Defaults to 100_000
distance: Option<PositiveCoordinate>
Specifies how far to distance the shadow.
Defaults to 0
direction: Option<PositiveFixedAngle>
Specifies the direction of the alpha gradient ramp relative to the shape itself.
Defaults to 0
fade_direction: Option<PositiveFixedAngle>
Specifies the direction to offset the reflection.
Defaults to 5_400_000
scale_x: Option<Percentage>
Specifies the horizontal scaling factor.
Defaults to 100_000
scale_y: Option<Percentage>
Specifies the vertical scaling factor.
Defaults to 100_000
skew_x: Option<FixedAngle>
Specifies the horizontal skew angle.
Defaults to 0
skew_y: Option<FixedAngle>
Specifies the vertical skew angle.
Defaults to 0
alignment: Option<RectAlignment>
Specifies shadow alignment.
Defaults to RectAlignment::Bottom
rotate_with_shape: Option<bool>
Specifies if the reflection rotates with the shape.
Defaults to true
Methods
impl ReflectionEffect
[src]
pub fn from_xml_element(xml_node: &XmlNode) -> Result<Self>
[src]
Trait Implementations
impl Clone for ReflectionEffect
[src]
fn clone(&self) -> ReflectionEffect
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ReflectionEffect
[src]
impl Default for ReflectionEffect
[src]
fn default() -> ReflectionEffect
[src]
impl PartialEq<ReflectionEffect> for ReflectionEffect
[src]
fn eq(&self, other: &ReflectionEffect) -> bool
[src]
fn ne(&self, other: &ReflectionEffect) -> bool
[src]
impl StructuralPartialEq for ReflectionEffect
[src]
Auto Trait Implementations
impl RefUnwindSafe for ReflectionEffect
impl Send for ReflectionEffect
impl Sync for ReflectionEffect
impl Unpin for ReflectionEffect
impl UnwindSafe for ReflectionEffect
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,